Re: [PHP] any better way...

2006-04-21 Thread Richard Lynch
On Thu, April 20, 2006 9:52 pm, benifactor wrote: I am trying to come up with the best way to check for errors on a form. I have done this before by checking each $_POST variable seperatly but needed a better way that would display more then one error. The following is what i came up with...

Re: [PHP] any better way...

2006-04-20 Thread Kevin Kinsey
benifactor wrote: I am trying to come up with the best way to check for errors on a form. I have done this before by checking each $_POST variable seperatly but needed a better way that would display more then one error. The following is what i came up with... if (!$condition1 ||