Because the PHP interface is based on the C interface.  It hit's the C
interface at some point since PHP is itself written in C.

----- Original Message -----
From: "Jocelyn Fournier" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, June 26, 2002 7:44 PM
Subject: "Commands out of sync; you can't run this command now" Error ?


> Hi,
>
> I've just got this error on my server.
>
> According to the manual, I can read :
>
> "If you get Commands out of sync; you can't run this command now in your
> client code, you are calling client functions in the wrong order!
> This can happen, for example, if you are using mysql_use_result() and try
to
> execute a new query before you have called mysql_free_result(). It can
also
> happen if you try to execute two queries that return data without a
> mysql_use_result() or mysql_store_result() in between. "
>
> The problem is I only use PHP4.2.1 with MySQL-4.0.2, not the C API at
all...
>
> How could this be possible ? (BTW it's the first time I see this error)
>
> Thanks and Regards,
>
>   Jocelyn Fournier
>
>
>
> ---------------------------------------------------------------------
> 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

Reply via email to