Category CodeIgniter

Using MSSQL stored procedures with codeigniter

This Msdb Class will help you use MSSQL stored procedures with codeigniter. Usage: put this class in your application/library folder and load the class in the usual way: $this->load->library('msdb'); in model or controller assign the result to a variable. Note the result is an array. To select data use: $result = $this->msdb->output('SP_Name', array('Param1'=>1, 'Param2'=>2), 'SELECT');

Continue Reading →