I have a form I'm building where I want users to submit some information via an INPUT TYPE="TEXT" box. The db field is set to VARCHAR(16).
PHP/MYSQL Insert Issue
5
I have a form I'm building where I want users to submit some information via an INPUT TYPE="TEXT" box.
The db field is set to VARCHAR(16).
My problem is that only numbers seem to work. If I use letters (or any other characters) the submission does not work. I do not get any errors, but the data just doesn't appear in the database.
Example:
45 - works
try35 - does not work
try - does not work
try-45 - does not work
I've been trying to figure this out for a while now. I've changed the db field to TEXT, and to BLOB, but nothing worked.
Any suggestions?
The db field is set to VARCHAR(16).
My problem is that only numbers seem to work. If I use letters (or any other characters) the submission does not work. I do not get any errors, but the data just doesn't appear in the database.
Example:
45 - works
try35 - does not work
try - does not work
try-45 - does not work
I've been trying to figure this out for a while now. I've changed the db field to TEXT, and to BLOB, but nothing worked.
Any suggestions?
- donnan
- webpro4hire
- [ 1 ] Thanks
- KirkMcD
- [ 1 ] Thanks
- Big Squid
Next Topics on Trending Feed
-
5