• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
mysqli call function out params

#1
[eluser]Aspi[/eluser]
Dear Forum Members,

How can I get function outparameter with codeigniter:

Code:
$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


Messages In This Thread
mysqli call function out params - by El Forum - 04-05-2011, 06:13 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.