Hi, I already got something similar. it was a case where I made a call to mysql_query() but I never made the call to mysql_store_result(). On the next call to mysql_query(), I was getting this error.
Frederic ----- Original Message ----- From: "Vandana" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, June 13, 2002 2:32 PM Subject: What does the error mesg mean > > I am using mysql's C API in my program. I am using a connection to > run many queries, but I am running these queries sequentially. There are > about 15 queries that I issue through this connection at different parts > of my program. It works successfully most of the times, but fails at > certain points, with an error message, > 'Commands out of sync, you can't run this command now' > > What does this error mean and when does it occur? I am not able to > determine the context in which this error occurs. Because it works > perfectly at certain points in the program while fails at other points. > Thanks for any help. > > > --------------------------------------------------------------------- > Before posting, please check: > http://www.mysql.com/manual.php (the manual) > http://lists.mysql.com/ (the list archive) > > To request this thread, e-mail <[EMAIL PROTECTED]> > To unsubscribe, e-mail <[EMAIL PROTECTED]> > Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php > --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php