Right, I know this... so, how are the best ways to do it?
I figure if the form is method POST, I do the following:
for strings:
// for good measure, do the isset
if (!isset($var) || strlen($var)<3) {
// some arbitrary size
// error
}
for integers:
if (!isset(var) || )/// what here?
// there is no isdigit
for floats -- same problem.
Do you guys know how I can verify integers or floats, then?
Thanks,
John