mssql connection works procedurally but not with database class

#5
[eluser]bgreene[/eluser]
$this->load->database('mssqldb');
$qry = $this->db->query('select * from mytable');
foreach ($qry->result() as $row)
{
echo $row->Hosts;
}


Messages In This Thread
mssql connection works procedurally but not with database class - by El Forum - 09-25-2009, 02:21 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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