mysql_num_rows()

From: Date: Wed, 20 Nov 2002 01:11:36 +0000
Subject: mysql_num_rows()
Groups: php.db 
Request: Send a blank email to php-db+get-23500@lists.php.net to get a copy of this message
Hi, I have been having some trouble with this, I mysql_num_rows() to find out how many rows there are and do an insert statement in the for loop for every row returned. So, if mysql_num_rows returns 17 then the for loops does an insert statement for every instance, when the 17 turns into zero the loop stops. For some reason the $insert never recieves any value. Thanks in advance, Tyler Whitesides East Valley School District WebAdministrator

« previous php.db (#23500) next »