Re: Whats wrong with the following code?
| From: | Hsieh, Wen-Yang | Date: | Thu, 11 Jan 2001 22:45:00 +0000 |
| Subject: | Re: Whats wrong with the following code? | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-34119@lists.php.net to get a copy of this message | ||
----- Original Message -----
From: "Web master" <webmaster@unni.com>
To: <php-general@lists.php.net>
Sent: Thursday, January 11, 2001 2:36 PM
Subject: [PHP] Whats wrong with the following code?
> Hello,
>
> Could any tell me whats wrong with the following code? Even though I
> have more than 10 tables in the database, it is not showing any numbers.
>
> $id_link = @mysql_connect('localhost',$uid,$pwd);
>
> $result=@mysql_db_query($db,$id_link,"show tables");
$result=@mysql_db_query($db, "show tables", $id_link);
> $num_of_rows=@mysql_num_rows($result);
> echo $num_of_rows;
>
>
> Thanks.
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>