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 :
http://forums.adobe.com/thread/676990
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.

//alak

Comments

Popular posts from this blog

SAP: Segregate Different SMTP Mail Server Based on Sender Domain

SAP Client Copy Error: Errors occurred during export of container object FINB-TR-DERIVATION

Quick Dirty Script for Checking Oracle Data Gurad Gap and Emailing it