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) ) {

   dothis;
}

I am trying to translate this from asp to php:


how about using the asp2php program?


-- Raditha Dissanayake. ------------------------------------------------------------------------ http://www.radinks.com/sftp/ | http://www.raditha.com/megaupload Lean and mean Secure FTP applet with | Mega Upload - PHP file uploader Graphical User Inteface. Just 128 KB | with progress bar.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to