Welcome Guest, Not a member yet? Register   Sign In
Running Stored Procedures...
#1

Hi Folks...

Ran into an error when executing stored MySQLi procedures.
Error:  "Commands out of sync; you can’t run this command now"

A solution can be found  here

My question:
Why is the function next_result() still not added to \system\database\drivers\mysqli\mysqli_result.php ?
Code below ...

Guess this will solve a lot of probs for a lot of devs ...

PHP Code:
/**
   * Read the next result
   *
   * @return  null
   */ 
  
   
function next_result() {
 
    if (is_object($this->conn_id))
 
    {
 
      return mysqli_next_result($this->conn_id);
 
    }
 
  
Reply


Messages In This Thread
Running Stored Procedures... - by johnny - 01-20-2016, 05:39 AM
RE: Running Stored Procedures... - by sammyci - 02-20-2016, 10:35 AM
RE: Running Stored Procedures... - by skunkbad - 02-20-2016, 12:36 PM
RE: Running Stored Procedures... - by dimas - 03-21-2017, 04:26 AM



Theme © iAndrew 2016 - Forum software by © MyBB