Results Column Case Changed
When I am selected values from MSSQl, the returned result set has changed the case of my column names:
$sql_ids = "SELECT CID FROM Customers";
$result_ids = $this->remote_db->query($sql_ids);
foreach($result_ids as $row_id){
print_r($row_id);
}
Results in:
Array ( [cid] => 1 ) ;
CID has changed to 'cid' which caused Undefined index errors.
Know anything about this?
|