Control Structure problem
| From: | Dan J. Rychlik | Date: | Tue, 16 Sep 2003 23:53:17 +0000 |
| Subject: | Control Structure problem | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-162804@lists.php.net to get a copy of this message | ||
This doesnt work as expected.
if ( $var === "TEST ONE" || "TEST TWO" || "TEST THREE") {
do something;
}
It returns true on all strings. Ive tried using the or operator and the == but these fail as well.
Any Ideas?
-Dan