Re: [PHP] Re: speaking of control structures...

2009-05-07 Thread Al
Tom Worster wrote: On 5/6/09 4:02 PM, "Al" wrote: Here's the way I handle validating user form inputs. Each function validates several things and throws an error with the message stating what's wrong. try { checkEmailAddr($userSubmitedDataArray[EMAIL_ADDR_FIELD]);

Re: [PHP] Re: speaking of control structures...

2009-05-07 Thread Tom Worster
On 5/6/09 4:02 PM, "Al" wrote: > Here's the way I handle validating user form inputs. Each function validates > several things and throws an error with the message stating what's wrong. > > try > { > checkEmailAddr($userSubmitedDataArray[EMAIL_ADDR_FIELD]); >