CodeIgniter Forums

Full Version: mysqli call function out params
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

Dear Forum Members,

How can I get function outparameter with codeigniter:

$query = $this->db->query('CALL sp_gen_iktatoszam(@iktatsz_out,@age)');
  $query1 = $this->db->query('SELECT @iktatsz_out');
    foreach ($query->result_array() as $row){
    $data = $row;
     return $data;

database.php =>
$db['default']['dbdriver'] = 'mysqli';
$db['default']['pconnect'] = TRUE;

Thank you for your help