Re: [PHP-DB] Supplied argument is not a valid MySQL result resource...

2001-04-21 Thread Klaus Haberkorn
ult); // Warning: Supplied arggument is not a valid $result = mysql_query("SELECT nonexistent FROM test"); $row = mysql_fetch_whatever($result); // Warning: Supplied argument is not $result = mysql_query("SELECT * FROM test WHERE id='002'"); $row = mysql_fetch_whatever($result);

[PHP-DB] Supplied argument is not a valid MySQL result resource...

2001-04-17 Thread Klaus Haberkorn
Installation Details: SuSE Linux 7.1 kernel 2.4 + apache 1.3.14 + php4.0.4pl1-1 + mysql 3.23.30-2 The following error message appears: "Warning: Supplied argument is not a valid MySQL result resource in /www/wp/php/login.php on line 29" Remarks: php4 runs fine and returns "not FALSE" for

Re: [PHP-DB] Supplied argument is not a valid MySQL result resource...

2001-04-17 Thread Klaus Haberkorn
rieb im Newsbeitrag 9bh6jh$346$[EMAIL PROTECTED]">news:9bh6jh$346$[EMAIL PROTECTED]... Hi, you usually get the error if your query is wrong and you try to call mysql_fetch_array in a while loop. It's easier if you post the relevant lines of code but I'd say there is something wrong