Thanks! And, *wow* yes I just did try php2asp. Pretty good translation,
although a few things need adjusting, it seems to do a remarkable job. I'll
definitely have to play with it some more.
:)
-Brian
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/un
Brian Anderson wrote:
What is the proper syndax in an if statement for containing multiple conditions?
example:
if ( condition1 && condition2 ) {
dothis;
}
if ( condition1 && (condition2 || condition3) ) {
dothis;
}
Both are valid. First example will validate if both condition1 and
condi
On Mon, 13 Sep 2004 11:32:00 -0500, Brian Anderson
<[EMAIL PROTECTED]> wrote:
> What is the proper syndax in an if statement for containing multiple conditions?
>
> example:
>
> if ( condition1 && condition2 ) {
>
> dothis;
> }
>
> if ( condition1 && (condition2 || condition3) ) {
>
>
Brian Anderson wrote:
What is the proper syndax in an if statement for containing multiple conditions?
both examples you have given are valid but their logic is slightly
different.
example:
if ( condition1 && condition2 ) {
dothis;
}
if ( condition1 && (condition2 || condition3) ) {
doth
4 matches
Mail list logo