@Stephano, from what you are saying it means that every thing is okay with the database connection. If so, then can you check your logic well. Sometimes it happens when dealing with especially logical operators.
diafol commented: Deprecated. Why do these people insist on using MySQL functions? +15
Stephano commented: yes it is still submitting 3. iam realy not sure why at this point. +0
Stephano commented: not working, still. i replaced this with what i had but still not working. this form is in a wordpress website. +0