well i got hafl this myself here... i got it to list my tables...
2 minor problems, it's not supposed to list one table called admin....
which i can fix myself a different way and I probably will becuase what's the sense of having admin inside the rest of the tables? opps..
anyway, this displays my tables, but in one big group!
<?php
error_reporting(E_ALL);
include("admindb.php");
$db_list = mysql_list_tables($db);
$i = 0;
$cnt = mysql_num_rows($db_list);
while ($i < $cnt) {
echo mysql_db_name($db_list, $i) . "\n";
$i++;
}
?>
they show up all scrunched, the \n doesnt' seem to affect it the way it should... but if i was to list them like that they would get huge anyway.
so I'm thinking of just displaying the table names by hand in Html and having them link to pages that show their respective needs. Maybe do an mysql_num_rows query to show how many parts are avialable within the different tables(categories from a store)....
thanks again.
Thanks alot, any info is greatly appreciated.