Re: [PHP] to use switch or not to use switch

2002-10-16 Thread Maxim Maletsky
t; <[EMAIL PROTECTED]> wrote: > > > Sounds like a good time for a switch to me... > > > > ---John Holmes... > > > > > -Original Message----- > > > From: Peter Houchin [mailto:[EMAIL PROTECTED]] > > > Sent: Wednesday, October 16, 2002

Re: [PHP] to use switch or not to use switch

2002-10-16 Thread Maxim Maletsky
> From: Peter Houchin [mailto:[EMAIL PROTECTED]] > > Sent: Wednesday, October 16, 2002 8:19 PM > > To: php_gen > > Subject: [PHP] to use switch or not to use switch > > > > howdy > > > > am just courious to see what approach others would take given t

RE: [PHP] to use switch or not to use switch

2002-10-16 Thread John W. Holmes
Sounds like a good time for a switch to me... ---John Holmes... > -Original Message- > From: Peter Houchin [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, October 16, 2002 8:19 PM > To: php_gen > Subject: [PHP] to use switch or not to use switch > > howdy > &

Re: [PHP] to use switch or not to use switch

2002-10-16 Thread Marco Tabini
Suggestions: 1) Use javascript to determine the script to run--slow and prone to attacks because you have little control over 2) Code different functions depending on the size of the text 3) Include a different file with the code to execute depending on the size of the text Cheers, Marco On

[PHP] to use switch or not to use switch

2002-10-16 Thread Peter Houchin
howdy am just courious to see what approach others would take given this senario. I have a form which for the most part is basic to follow but I have one field where people can enter any value up to 100k in now what has to happen is if they enter anything that equals 20k or lower is taken care