A "Commands out of sync;" error

Hi,

I try to use mysqli through ADODB to connect to my MySQL (5.0.15)
database.

I try to execute such a part of code:
$date = $this->db->Execute("call get_date()")->FetchObj->value;

and whatever I try to execute later, I get a message:
string(24) "select [at] result as result"
string(52) "Commands out of sync; you can't run this command now"

But when I execute
$date = $this->db->Execute("select date from table")->FetchObj->value;
everything is ok.

I have recently re-installed my MySQL server - about which setting did
I forget?...
njord [ Mo, 16 Oktober 2006 21:38 ] [ ID #1501662 ]
Datenbanken » mailing.database.mysql » A "Commands out of sync;" error

Vorheriges Thema: Reference to Table Alias in From Clause to be Used by Subquery inSelect Clause
Nächstes Thema: max_user_connection, when is it a bad script and when is it a busy server.