View Single Post
Old 25th June 2008, 01:04 PM   #2 (permalink)
MrBen
Munky!
 
MrBen's Avatar
 
Join Date: Sep 2003
Location: nr Woking, England
Posts: 2,598
mysql_error should be useful here - PHP: mysql_error - Manual

You don't appear to be doing any cleaning or validation on your data leaving yourself open to SQL injection.

I suspect it the error will be due to apostrophes or special characters in your input. If magic_quotes was previously set to on these would have been escaped properly. See Apostrophies in text boxes creating mysql error

Ben
__________________
Veterinary Practice Management System by SoftFooding
Internet Data Usage Calculator: Estimate your monthly bandwidth usage for your Internet connection.
MrBen is offline   Reply With Quote