On Fri, 17 Aug 2001 16:49, ERISEN, Mehmet Kamil wrote:
> Hello All,
> I receive the following warning message. When I reload the page, the
> message is the error message does not show up again. Funny thing is,
> that there are other parts of the page generated from the same database
> using the same mysql_pconnect and they are fine. I am using a standard
> $sql mysql_query($sql) mysql_fetch_array($result) kind of command,
> nothing too fancy. Did anybody have a similar experince?
>
> Warning: Supplied argument is not a valid MySQL result resource in
> /xxxxxxx/xxxxxxx//index.php on line 45
>
>
> thanks.

Use mysql_error() after your call to mysql to give you the error that is 
causing your query to fail.

-- 
David Robley      Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES      Flinders University, SOUTH AUSTRALIA  

   Dislexics of the world, UNTIE!

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to