Log in

View Full Version : MySQL Problems -> Solving (Always Updating)



allahverdi
09-09-2008, 06:04 PM
Actual Problems:

1.

mysql_fetch_array(): supplied argument is not a valid MySQL result resource

This error appears when you have something wrong on your query (or something else, that i have never meet). First of all look at your code. And make sure that you have mysql_error() on your query. Something like this:


$result = mysql_query($query) or die(mysql_error());

When you will do this, if you have something wrong on your query you will get full error. With this error you will easily find how to solve it.

Threads:
http://www.dynamicdrive.com/forums/showthread.php?t=33886
http://www.dynamicdrive.com/forums/showthread.php?t=12721
http://www.dynamicdrive.com/forums/showthread.php?t=34914

-------------------------------------------------------------------------------------------------------------------------

P.S.1. Plz PM me what to add

P.S.2. Haven't time to write all at once. That's why will make it part-by-part

P.S.3. I couldn't write in Codes And Tutorials section plz, moders move this thread there if it is possible