note 76741 added to control-structures.alternative-syntax
| From: | info at ees dot net dot nz | Date: | Sat, 28 Jul 2007 22:51:33 +0000 |
| Subject: | note 76741 added to control-structures.alternative-syntax | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-129009@lists.php.net to get a copy of this message | ||
I want to set a variable $var1 = "2" and if $var1 ! (is not) 2, then ..
but what if $var1 is not declared? it just seems to hang.
The purpose is to create a script to check if a frame is included and if not redirect to page with
frames
joe gelet
www.eliteeservices.net
----
Server IP: 208.69.120.35
Probable Submitter: 206.253.145.132
----
Manual Page -- http://www.php.net/manual/en/control-structures.alternative-syntax.php
Edit -- https://master.php.net/note/edit/76741
Del: integrated -- https://master.php.net/note/delete/76741/integrated
Del: useless -- https://master.php.net/note/delete/76741/useless
Del: bad code -- https://master.php.net/note/delete/76741/bad+code
Del: spam -- https://master.php.net/note/delete/76741/spam
Del: non-english -- https://master.php.net/note/delete/76741/non-english
Del: in docs -- https://master.php.net/note/delete/76741/in+docs
Del: other reasons-- https://master.php.net/note/delete/76741
Reject -- https://master.php.net/note/reject/76741
Search -- https://master.php.net/manage/user-notes.php