Re: oblivious to the obvious

From: Date: Fri, 23 Apr 2004 23:16:27 +0000
Subject: Re: oblivious to the obvious
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-184482@lists.php.net to get a copy of this message
--- Arthur Pelkey <apelkey@northeastquality.com> wrote: > I keep getting Warning: mysql_fetch_array(): supplied argument is not > a valid MySQL result resource in lines 17 and 21 [snip] > $result = mysql_query("...") If mysql_query() returns false (which you can test by checking the value of $result, for example), echo mysql_error() to see why your query failed. Hope that helps. Chris ===== Chris Shiflett - http://shiflett.org/ PHP Security - O'Reilly Coming Fall 2004 HTTP Developer's Handbook - Sams http://httphandbook.org/ PHP Community Site http://phpcommunity.org/

« previous php.general (#184482) next »