My form has a drop down list for state names. When the user submits the form, it sends it to my php script which in turn, adds it to my mysql database.
If a user changes the state value with firebug and submits it, it doesn’t work because my database doesn’t support foreign keys.
One solution is comparing received state with the state table.
(It is not only field, there is country, city, birthyear, job etc…)
does everyone know another solution?
1 Answer