¿Qué es MVC? Desarrollo web

http://www.desarrolloweb.com/articulos/que-es-mvc.html

Anuncios

Solucion Para Codeignider multiple query, store procedure con mysql

Fuente: http://codeigniter.com/forums/viewthread/179001/

Error Number: 2014
Commands out of sync; you can’t run this command no
w

I have made small change in database/drivers/mysqli/mysqli_result.php function free_result()
to as below.
function free_result()
{

if (is_object($this->result_id)) {
mysqli_free_result($this->result_id);
/*
Edited by Safarath sk in order to free the mysqli multiple set results.
Date: 23/01/2011
*/
while ($this->conn_id->next_result()) {
/*free each result.*/
$result = $this->conn_id->use_result();
if ($result instanceof mysqli_result) {
$result->free();
}
}
$this->result_id = false;
}
}