Re: [PHP] break statement usage

2002-01-26 Thread Nick Wilson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * and then DL Neil blurted > Private note: heard the one about throwing stones and living in glass houses? > > > > > Try to keep your posts a little shorter > > if only for the sake of the dialup users ;) > > > this said by someone wh

Re: [PHP] break statement usage

2002-01-26 Thread DL Neil
AIL PROTECTED]> Sent: 25 January 2002 21:24 Subject: Re: [PHP] break statement usage > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > > * and then Erik Price blurted > > So what I'm wondering is, > > > > Is it bad coding practice to make heavy use o

Re: [PHP] break statement usage

2002-01-25 Thread Nick Wilson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * and then Erik Price blurted > On Friday, January 25, 2002, at 04:24 PM, Nick Wilson wrote: > > > >Try to keep your posts a little shorter > >if only for the sake of the dial-up users ;) > > > > Do you suggest this tip whenever someone

Re: [PHP] break statement usage

2002-01-25 Thread Erik Price
On Friday, January 25, 2002, at 04:24 PM, Nick Wilson wrote: > > Try to keep your posts a little shorter > if only for the sake of the dialup users ;) > > Thanks for the tip, but I find that a more verbose message makes explicit what I am asking. How many times have you seen "I bre

Re: [PHP] break statement usage

2002-01-25 Thread Nick Wilson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * and then Erik Price blurted > So what I'm wondering is, > > Is it bad coding practice to make heavy use of "break" statements in > switch() flow control? That's exactly the point of the break statement, it was designed to be used in a switch

RE: [PHP] break statement usage

2002-01-25 Thread Darren Gamble
venue SW Calgary, Alberta, Canada T2P 4L4 (403) 781-4948 -Original Message- From: Erik Price [mailto:[EMAIL PROTECTED]] Sent: Friday, January 25, 2002 2:11 PM To: PHP Subject: [PHP] break statement usage Hello, all I have a quick question about using the "break" statement from

[PHP] break statement usage

2002-01-25 Thread Erik Price
Hello, all I have a quick question about using the "break" statement from within a switch() statement. After accepting user input from a form, I want to run this input through some error checking via PHP code (not Javascript error checking). So the first thing is the code puts the input thro