<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
 
<html>
 
<head>
 
<title>PHP Report Generator</title>
 
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
 
</head>
 
 
<body>
 
    <?
 
 
    include_once("phpFormGen.php");
 
    $prg = new phpFormGenerator();
 
        $prg->width = "100%";
 
    $prg->cellpad = "0";
 
    $prg->cellspace = "0";
 
    $prg->border = "0";
 
 
    mysql_connect("localhost","root","root");
 
    mysql_select_db("automation_system");
 
 
    $res = mysql_query("select * from classtest");
 
    $prg->mysql_resource = $res;
 
    $prg->db_host="localhost";
 
    $prg->db_name="automation_system";
 
    $prg->db_pwd="root";
 
    $prg->db_user="root";
 
    $prg->table_name="classtest";
 
    $prg->key_field="id";
 
    $prg->generateInsert();
 
 
 
    
 
    ?>
 
</body>
 
</html>
 
 
 |