Re: Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in f:\.....\none.php on line 286
| From: | Thomas Seifert | Date: | Sun, 08 Jun 2003 21:50:57 +0000 |
| Subject: | Re: Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in f:\.....\none.php on line 286 | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-150678@lists.php.net to get a copy of this message | ||
why are you using "sql_query" through your code?
its
mysql_query for mysql!
and the result, needed for mysql_fetch_row is returned from that function.
read the docs again.
Thomas
On Sun, 8 Jun 2003 16:37:59 -0300 mlaia@fcav.unesp.br (Marcelo Luiz De Laia) wrote:
> $result = "SELECT categoria, nombre, datafim FROM ".$prefix."_anuncios ORDER
> BY datafim LIMIT 0,30";
> sql_query($result, $dbi);