note 8207 deleted from Control Structures by torben

From: Date: Thu, 31 Aug 2000 08:50:59 +0000
Subject: note 8207 deleted from Control Structures by torben
Groups: php.notes 
Request: Send a blank email to php-notes+get-3773@lists.php.net to get a copy of this message
I'm pretty much a newbie to PHP3/4 and I'm stunned as it is so easy. Anyway, I can't figure out any alternative of doing ... if ($frmGo) { if ($fromGo = 1) { bleh } elseif ($frmGo = 2) { blehhh } } else { blaha } to first of all prove wether the field GO is actually filled in. Also can't I find out how to do something like if ($frmGo = moo) || ($frmGo = doo) { } whereas the || would mean OR - How does this work in PHP ? If you know the answer. ... just drop me a line by email (as above) or stop by on irc.ultrachat.net #CheatsRus - thanks a whole bunch =)

« previous php.notes (#3773) next »