Hello all,
I was wondering if there is any way to force someone to enter a numeric value in a web form? On my form I have an entry box for people to enter a price...what I want is stop people from entering "$1,000" instead of "$1000". The reason is I have found that when I enter "1,000" into the box, MySQL registers it as "1"!! I am using PHP4.0 and MySQL.
Thanks!
I was wondering if there is any way to force someone to enter a numeric value in a web form? On my form I have an entry box for people to enter a price...what I want is stop people from entering "$1,000" instead of "$1000". The reason is I have found that when I enter "1,000" into the box, MySQL registers it as "1"!! I am using PHP4.0 and MySQL.
Thanks!