RE: [PHP] ehh A few newbie questions :)
| From: | John Coggeshall | Date: | Thu, 13 Jul 2000 21:07:43 +0000 |
| Subject: | RE: [PHP] ehh A few newbie questions :) | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-6620@lists.php.net to get a copy of this message | ||
Do you mean something like this
if($a || $b) { // if $a OR $b
}
if($a && $b) { // if $a AND $b
}
-----Original Message-----
From: Erlend Stromsvik [mailto:ehs@netcom.no]
Sent: Friday, July 14, 2000 5:00 AM
To: php-general@lists.php.net
Subject: [PHP] ehh A few newbie questions :)
Is it possible to write IF structures like this in PHP:
if ((expression1) or/xor (expression2)) { do this and that }
if ((expression1) and (expression2)) { do this and that }
I'm pretty sure I couldn't find anything about it in the documentation.....
Also.. Can you start scritps (perl/shellscripts) from web-pages with php.
(on a linux machine)
This is a local machine and it's inside a firewall. -Only for intranet use
:)
Thanks for any respons
Erlend Stromsvik
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
For additional commands, e-mail: php-general-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net