Click to See Complete Forum and Search --> : What does this error mean?


tubaplaya76
07-19-2006, 05:54 PM
Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in

the script itself is working just as I want it; however, I get this result when I try to "free the result." Any reason why?

Thanks in Advance!

LiLcRaZyFuZzY
07-19-2006, 06:04 PM
If the argument is not a resource, it will display this warning (not an error, a warning)
As mysql_query() only returns a resource for SELECT, SHOW, EXPLAIN, and DESCRIBE queries, i guess you're simply not using one of those and thus don't have a resource.

never mind, just put an @ in front of the function to suppress the warning

tubaplaya76
07-19-2006, 06:15 PM
Oh okay! That makes sense. I should've picked up on that on my own, though. Thanks for all the help, though! =)

LiLcRaZyFuZzY
07-19-2006, 06:16 PM
no problems ;)