phranque - 7:10 am on Sep 12, 2012 (gmt 0)
the database query occurs on your server, not in your browser.
therefore you should look for a safari-specific problem in in the document served, not in the query.
does your html document have a DTD specification?
have you validated the html?