Posted by J.O. Aho on 07/02/06 00:50
Samuël van Laere wrote:
> function GrabTables($dbname){
> $sql = "SHOW TABLES FROM $dbname";
$tables = array();
> $result = mysql_query($sql);
> while ($row = mysql_fetch_row($result)) {
array_push($tables,$row[0]);
> }
/* element 0 is an empty one */
> return $tables;
> }
//Aho
Navigation:
[Reply to this message]
|