On Jul 31, 2007, at 11:40 AM, Robin Vickery wrote:

Or don't get numeric keys in the first place:

foreach ($this->db->query($query, PDO::FETCH_ASSOC) as $row)

Robin: Bingo! That did the trick.

I knew my solution was hokey but I haven't used PDO before this project so wasn't aware of what it did behind the scenes.

Thanks everyone for the quick replies.

Ken

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to