Re: Problem with my first script
| From: | leo g. divinagracia iii | Date: | Wed, 25 Jul 2001 00:52:35 +0000 |
| Subject: | Re: Problem with my first script | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-10727@lists.php.net to get a copy of this message | ||
i havent tested it yet... but...
Fernando Gonzalez wrote:
>
> $num=mysql_num_rows($result);
> $cur=1;
> while($num>=$cur){
> $myrow=mysql_fetch_array ($result);
^^
you got a space after the function and the open paren. NO SPACES!!!!
(as i found before that took about 10 minutes of debugging on a similar
debugging session...) ;-)))
--
Leo G. Divinagracia III
ldivinag@csuhayward.edu