Re: mysql_num_rows
| From: | Richard S. Crawford | Date: | Sun, 06 Jan 2002 20:00:33 +0000 |
| Subject: | Re: mysql_num_rows | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-15457@lists.php.net to get a copy of this message | ||
It would help if we could see the actual query. It sounds like the problem is a syntax error in the query itself.
At 11:52 AM 1/6/2002, Gurhan Ozen wrote:
Hi everyone, I have a problem with mysql connectivety which is making me nuts. If the query is "select blah, blah from table" (i.e. without where clause) mysql_num_rows returns the right number, but when i put in a query with where clause, although there are rows returned, PHP is giving: "Warning: Supplied argument is not a valid MySQL result resource" error.. Can anyone point me to any direction about this? Thanks. Gurhan -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net For additional commands, e-mail: php-db-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.netSliante, Richard S. Crawford http://www.mossroot.com AIM: Buffalo2K ICQ: 11646404 Y!: rscrawford MSN: underpope@hotmail.com "It is only with the heart that we see rightly; what is essential is invisible to the eye." --Antoine de Saint Exupéry "Push the button, Max!"