Re: PHP- something i don't undestand
| From: | craig at phirus dot com | Date: | Thu, 19 Jul 2001 01:55:28 +0000 |
| Subject: | Re: PHP- something i don't undestand | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-58595@lists.php.net to get a copy of this message | ||
Do it like this....
$sqry_linx = mysql_query("SELECT * FROM linx ORDER BY 'linkcat'");
$link = mysql_fetch_array($sqry_linx);
"Yassel Omar Izquierdo Souchay" <yois@sics.transnet.cu> wrote in message
news:001c01c10eff$1235ce50$2401020a@yois...
> 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
>