Re: mysql_num_rows()
| From: | Jason Wong | Date: | Wed, 20 Nov 2002 05:17:58 +0000 |
| Subject: | Re: mysql_num_rows() | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-23503@lists.php.net to get a copy of this message | ||
On Wednesday 20 November 2002 09:11, Tyler Whitesides wrote:
> 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.
Please post your code.
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
/*
I don't believe there really IS a GAS SHORTAGE.. I think it's all just
a BIG HOAX on the part of the plastic sign salesmen -- to sell more numbers!!
*/