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]);
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]);
>
Tom Worster wrote:
there's a control structure i wish php had: a simple block that you can
break out of, e.g.
block {
if ( condition )
break;
blah...
blah...
if ( another condition )
break;
blah...
blah...
etc...
}
the block is just like a loop except that it is ex
Tom Worster wrote:
> there's a control structure i wish php had: a simple block that you can
> break out of, e.g.
>
> block {
>
> if ( condition )
> break;
>
> blah...
> blah...
>
> if ( another condition )
> break;
>
> blah...
> blah...
>
> etc...
>
> }
>
> the block
im not sure if i understand exactly what you want. but from what ive
gathered, did you try to make use of a FUNCTION?
"Tom Worster" wrote in message
news:c625f5f7.a80f%...@thefsb.org...
there's a control structure i wish php had: a simple block that you can
break out of, e.g.
block {
if (
5 matches
Mail list logo