"Sam" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> i'm new to this php/mysql thing - i've defected microsoft.
> when trying to pull data from a table in mysql, i get the following error:
>
>     Warning: mysql_fetch_row(): supplied argument is not a valid MySQL
> result resource in C:\cn\test.php on line 24


1. echo out the sql statement and look at it to see what's wrong.
2. echo out mysql_error() and see what that does to help
3. Check the return value of mysql_query after each exec, a failed query
means bad sql, mysql_error says what.



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to