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

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

SAP SWPM Software Provision Manager SL Toolset 1.0 SP22 Startup Options

SAP SystemCopy - Activation of TCI Notes, DigiSIgn Gone Wrong