Posted by Carl on 03/09/06 00:31
Pelin, Try changing the line $orders = $db->query($sql); to : $orders = $db->query($sql, PDO::FETCH_ASSOC); I don't know why that option is not shown on the php.net docs for PDO, but it does infact work for me (php 5.1.2) More info can be found here: http://wiki.cc/php/PDO_Basics#Query_a_table Hope that helps, Carl.
[Back to original message]
Copyright © 2005-2006 Powered by Custom PHP Programming