Sorry, I have done that but i didnt include it in my code snippet. I've got

Code:
$objConn = DBConnOpen($dsn)



before the section above.

I know your DB stuff is working for me as i can display the output. Its the format that the recordset comes back in that is causing me trouble.