Re: [PHP] How do I convert from perl to php? - Reality Check & Taxation

2001-11-21 Thread George Whiffen
> So I would have to write a seperate if condition for each form input field i wanted >to require? that doesn't make for a very dynamic script... > > > if(!(isset($name) && isset($address) && isset($phone)) { > > echo "You left one empty."; > > } Reality Check: We write code to solve real

Re: [PHP] How do I convert from perl to php? - Reality Check & Taxation

2001-11-21 Thread Brandon Lamb
define the variable as an input from a form 2. in the required fields array - Original Message - From: "George Whiffen" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, November 21, 2001 7:28 AM Subject: Re: [PHP] How do I convert from perl to php? - Reality C

Re: [PHP] How do I convert from perl to php? - Reality Check & Taxation

2001-11-22 Thread George Whiffen
TED]> > To: <[EMAIL PROTECTED]> > Sent: Wednesday, November 21, 2001 7:28 AM > Subject: Re: [PHP] How do I convert from perl to php? - Reality Check & > Taxation > > > So I would have to write a seperate if condition for each form input field > i wanted to requ

Re: [PHP] How do I convert from perl to php? - Reality Check & Taxation

2001-11-22 Thread George Whiffen
n-programmer how to add another > if statement or condition when they could simply add the field to the array? > > And actually you only have to change the name in 2 places. > 1. you define the variable as an input from a form > 2. in the required fields array > > - Origin