Thread
:
Form validation inserts blank fields into database-why oh why?
View Single Post
#
15
(
permalink
)
11-17-09, 10:57
gvee
www.gvee.co.uk
Join Date: Jan 2007
Location: UK
Posts: 10,156
The error is being thrown by SQL where it expects an integer and you're passing it some text.
Remember: '1' is still text (note the quotes!)
__________________
George
Twitter
|
Blog
gvee
View Public Profile
Visit gvee's homepage!
Find all posts by gvee