----- Original Message -----
From: "Web master" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]