PHP Classes

File: example.php

Recommend this page to a friend!
  Classes of Wisnu Satriyadi  >  SQL to HTML Table  >  example.php  >  Download  
File: example.php
Role: Example script
Content type: text/plain
Description: example file
Class: SQL to HTML Table
Generate HTML tables from SQL query results
Author: By
Last change:
Date: 5 years ago
Size: 302 bytes
 

Contents

Class file image Download
<?php
include "db.php";

$db = new showtable;
$db->host = "localhost";
$db->username = "root";
$db->password = "";
$db->db = "aaaa";

$db->sql = "select * from tb_campur";
//$db->thead = array("ID","NAME", "GENDER","ADDRESS", "RT", "RW", "DATE", "NEW ADDRESS", "TYPE");
$db->showtabel();
?>

For more information send a message to info at phpclasses dot org.