note 32906 deleted from control-structures.declare by didou
| From: | didou@php.net | Date: | Tue, 10 Jun 2003 15:53:59 +0000 |
| Subject: | note 32906 deleted from control-structures.declare by didou | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-50114@lists.php.net to get a copy of this message | ||
Note Submitter: csnyder of chxo/com
----
better correct the tests at the end of the above code to use equivalent "==" not equal
"=" otherwise the condition will always be true:
if ($contents=="run") {
// do stuff
}
elseif ($contents=="stop") {
exit();
}