Results 1 to 2 of 2

Thread: Anoying mySQL Problem

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Feb 2001
    Location
    Scotland, UK
    Posts
    321

    Exclamation 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.

  2. #2
    Frenzied Member
    Join Date
    Nov 1999
    Posts
    1,337
    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
  •  



Click Here to Expand Forum to Full Width