mysql_fetch_assoc(): 4 is not a valid MySQL result resource in

mysql_fetch_assoc(): 4 is not a valid MySQL result resource in

So received the error during a programming spree.
quite blank at first.
googled but majority of the results are cause of worngly "submitted argument"

mine, it was correct. found solution here :
i did a loop for displaying results as below:

while (#row=mysql_fetch_assoc()$result_from_queyr){

  //display ans here


the mistake was palcement of mysql_free_result. it shud be AFTER the while loop. -__-" demkit.



Popular posts from this blog

Check SecStore KeyPhrase of Java Stack

Windows 2003 W2k3 Getting Current MTU Size

Python: thread.error: can't start new thread