Re: Control Structure problem

From: Date: Wed, 17 Sep 2003 00:32:03 +0000
Subject: Re: Control Structure problem
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-162814@lists.php.net to get a copy of this message
yeah, it does make more sense to do it that way for some things, but when you get ands, and ors, it gets complicated eg. if ($a == "foo" && $b == "bar" || "something"){ //do something } does that mean $a can either = "foo" or "something" or $b = "bar" or "something"? and thats just a simple example :) but i know it would be really nice in simple logical expressions Luke ----- Original Message ----- From: "Chris W. Parker" <cparker@swatgear.com> To: "Dan J. Rychlik" <drychlik@tcsconsult.com>; "Luke Skywalker" <masterskywalker@tpg.com.au>; <php-general@lists.php.net> Sent: Wednesday, September 17, 2003 10:18 AM Subject: RE: [PHP] Control Structure problem Dan J. Rychlik <mailto:drychlik@tcsconsult.com> on Tuesday, September 16, 2003 5:12 PM said: > Thank you guys. I truly know the level of expertise on this mailing > list, and I know that it proves invaluable. <lovingjab> If by "I truly know the level of expertise on this mailing list" you meant "I truly don't know the basics of PHP syntax", then yeah, you'd be right. ;) !! </lovingjab> :) Chris. p.s. Or maybe it's me that's doesn't know the basics... ?? p.p.s. I totally think that the syntax you presented is logical and should be available. It makes much more sense to me to do it the way you did, but alas... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.general (#162814) next »