|
-
Dec 9th, 2002, 12:18 PM
#1
Thread Starter
Hyperactive Member
Anoying mySQL Problem
Ok, this was working last night, and nothing as far as I am aware has changed, but its not working today.
Code:
$query1 = mysql_list_dbs();
while ($databases = mysql_fetch_object($query1)) {
echo "<li><a href=?a=dview&db=".$databases->Database.">".$databases->Database."</a>\n";
$query2 = mysql_list_tables($databases->Database);
Basically, it returns the list of databases, but fails to return the tables, as query2 = Nothing!!
If anyone has any suggestions I would be greatfull.
-
Dec 10th, 2002, 02:54 PM
#2
Frenzied Member
code doesn't work then stop working for nothing. apparently the server changed or died.
try using fetch_array instead
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|