View Single Post
Old 2005-03-25, 10:42 AM   #2
cd34
a.k.a. Sparky
 
cd34's Avatar
 
Join Date: Sep 2004
Location: West Palm Beach, FL, USA
Posts: 2,396
You probably had safe quoting on the old server, and it is off on the new server.

Personally, rather than adjust the new default (which is safer), you might want to adjust your methods for processing input to avoid SQL injection. I'm surprised it is a space that is causing the problem and not something like a " or a '

you might wrap your variables with addslashes() and see if that is indeed the problem. otherwise, try printing the actual query that is being executed, and cut and paste it into mysql's command line interface or phpmyadmin to see what is actually breaking.
__________________
SnapReplay.com a different way to share photos - iPhone & Android
cd34 is offline   Reply With Quote