Hello,
Obviously, newbie here. I am looking for a snippet or two that will verify the data passed from a form. For example, verify that the input is a number, or a date, or a valid email address.
I hate to re-invent the wheel, so any help would be appreciated. I'm not really lazy, I am just caught up with work and the mechanics of using DB2 with PHP.
I'm inputting a string called "amount" and want to insert it into a DB2 field of type "int". (I'm guessing it's the same as in MySql).
Thank you,
Mairhtin