View Single Post
  #1 (permalink)  
Old 03-09-2007, 05:03 PM
percycode percycode is offline
Junior Member
 
Join Date: Mar 2007
Posts: 4
Question 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?
Reply With Quote