Hi there,

> When I use C API ,mysql_query.
> I got an error :
> Commands out of sync;  You can't run this command now
> what this mean and what should I do?

You are probobly sending a query to the DB thats generates a raply, like
select for example.
What you need to do is to cath the reply with mysql_use_result() and
then free it, with mysql_free_result().

/roger



---------------------------------------------------------------------
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

Reply via email to