Re: Stupid newbie looping MySQL question
| From: | Rasmus Lerdorf | Date: | Mon, 08 Jan 2001 07:32:59 +0000 |
| Subject: | Re: Stupid newbie looping MySQL question | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-5698@lists.php.net to get a copy of this message | ||
Ok, then everything should be fine. You just need to eliminate silly
mistakes. Make sure all arguments you pass to mysql_fetch_* functions are
actually result identifiers. A result identifier is the return value from
a mysql_query() or mysql_db_query() call.
-Rasmus
On Sun, 7 Jan 2001, Lynn Siprelle wrote:
> >Ok, then your query is fine. What does:
> >
> > echo mysql_numrows($result);
> >
> >show?
>
> 3, which is correct.
>
> L
> --
> Lynn Siprelle, Siprelle & Associates: Web Construction and Publishing
> Chief Assoc. Josephine b. 9/9/97 * New Assoc. Louisa due 5/1/01
> Business: lynn@siprelle com | Personal: lynsa@siprelle.com
> The New Homemaker: http://www.newhomemaker.com/
>