Joe Harman wrote:
I was just writing a form validation script... I know that there is ton of them out there... and i know that there are some different methods of doing it... but i want to assign class names to each field like class="req:email"... not sure if that is the right way to do it, but i thought it would make thing neat and tidy
And these class names could be used on the server for … what? Hopefully, you're not relying on GET and POST requests from (intrinsically untrustworthy) clients to know what data type input should be, as that would be intrinsically insecure.
-- Benjamin Hawkes-Lewis -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php