note 39844 deleted from language.operators.logical by irchtml
| From: | irchtml@php.net | Date: | Thu, 12 Feb 2004 18:45:32 +0000 |
| Subject: | note 39844 deleted from language.operators.logical by irchtml | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-65058@lists.php.net to get a copy of this message | ||
Note Submitter: mike@gigavista.com
----
Hello all.
This is my first post here and I am really really new to PHP and trying to learn it from 0. When I
say from 0 I mean with no coding experience from any code languages before. :-P
I saw the posts about the so called short circuit.
I made something like this to check both vars is any one of both has a entry.
If (($var1 !="") XOR ($var2 =="")){
displays a message if none are completed
}else{
continues form.
}
Hope it helps someone and please if there is anything wrong please tell it cause im wanting to learn
about my errors.
SKY