Commands out of sync; you can't run this command now
Posted: Wed Jun 13, 2007 10:24 am
Everah | Please use
Why i get this error even I flushed the result ?
here is the code of my function in my class that extends mysqli
The first call works not the second.
thanks for your time
Everah | Please use
Code: Select all
,Code: Select all
and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]
Hi,
I'm stuck with this error. give me hint.Code: Select all
$objSession &= new Session(); #my class that extend mysqli
...
$query = "Call Nouvelle_Get(".$_REQUEST['newId'].");";
$objSession->executeSQL( $query );
$result = $objSession->store_result();
$result->close();
$objSession->executeSQL( $query ); # ERROR ON THIS LINE
$result = $objSession->store_result();
...here is the code of my function in my class that extends mysqli
Code: Select all
public function executeSQL( $sql ) {
$this->multi_query( $sql ) or $this->dienice( $this->errno, $this->error." <br><br>SQL SOURCE: ".$sql );
}thanks for your time
Everah | Please use
Code: Select all
,Code: Select all
and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]