It might be the recordset doing that. Can I get FTP access to the page? I can debug it. Depending on the php version it actually uses 1 of 3 functions to get the results. One or more may convert to strings... If I could debug your page I could narrow down which function yours uses and perhaps find a solution.