note 39844 added to language.operators.logical

From: Date: Thu, 12 Feb 2004 18:42:28 +0000
Subject: note 39844 added to language.operators.logical
Groups: php.notes 
Request: Send a blank email to php-notes+get-65056@lists.php.net to get a copy of this message
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 ---- Manual Page -- http://www.php.net/manual/en/language.operators.logical.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+39844 Delete -- http://master.php.net/manage/user-notes.php?action=delete+39844&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+39844&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#65056) next »