Re: PHP- something i don't undestand
| From: | Jason Bell | Date: | Tue, 17 Jul 2001 19:27:47 +0000 |
| Subject: | Re: PHP- something i don't undestand | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-58316@lists.php.net to get a copy of this message | ||
your query needs to be an actual query, such as a select statement.......
----- Original Message -----
From: "Yassel Omar Izquierdo Souchay" <yois@sics.transnet.cu>
To: <php-general@lists.php.net>
Sent: Tuesday, July 17, 2001 1:28 PM
Subject: [PHP] PHP- something i don't undestand
> Hi
> I'm having
> trouble with this part of code
>
> 9: $result = mysql_db_query("users", $query);
> 10: $r=mysql_fetch_array($result);
>
> The error message is :
> Warning: Supplied argument is not a valid MySQL result resource in
> c:\inetpub\wwwroot\PhpAndMysqlTest\test2\reg1.php3 on line 9.
>
> Please if somebody knows what it's wrong
> thanks
> Yassel
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>