Whats wrong with the following code?

From: Date: Thu, 11 Jan 2001 22:36:13 +0000
Subject: Whats wrong with the following code?
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-34118@lists.php.net to get a copy of this message
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"); $num_of_rows=@mysql_num_rows($result); echo $num_of_rows; Thanks.

« previous php.general (#34118) next »