Re: PHP accessing MySQL
| From: | Jonathan Duncan | Date: | Tue, 22 May 2001 21:21:06 +0000 |
| Subject: | Re: PHP accessing MySQL | ||
| References: | 1 2 3 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-9542@lists.php.net to get a copy of this message | ||
YES!! I just had a feeling the book was wrong. That did get rid of the
error. However, it did not completely solve my issue. Now when I run the
script I just get the message "Couldn't list databases." This just happens
to be the die message for the same line of code that I have been looking at:
$tables = mysql_list_tables($db_names[$db_num]) or die("Couldn't list
databases.");
It is almost as if it is not being able to even list the tables from the
databases. I am working right now on just listing the tables of a database
to see what happens.
Thank you,
jkd
"Julie Meloni" <julie@thickbook.com> wrote in message
news:3B0ACE55.60105@thickbook.com...
> I believe you want to look at this page:
> http://www.thickbook.com/books/phpfe_errata.phtml
>
>
>
> --
> +----------------------------------------+
> | Julie Meloni (julie@thickbook.com) |
> | |
> | "PHP Essentials" and "PHP Fast & Easy" |
> | http://www.thickbook.com |
> +----------------------------------------+
>
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net
> For additional commands, e-mail: php-db-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>