Re: Little php code - error

From: Date: Thu, 08 Apr 2010 14:34:50 +0000
Subject: Re: Little php code - error
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-303906@lists.php.net to get a copy of this message
On 8 April 2010 16:30, David Otton <phpmail@jawbone.freeserve.co.uk> wrote: > On 8 April 2010 15:21, Juan <juan@rodriguezmonti.com.ar> wrote: > >> The structure is pretty easy to understand, however I'm not able to >> solve this. Could you tell me why I'm not able to run this code. > > Your else has a condition on it > > } else (empty($b) and empty($c)) { > > Should be > > } else { Unless he actually wants to do something with that condition, in which case it should be an elseif. > BTW, the "and" is fine. > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- <hype> WWW: http://plphp.dk / http://plind.dk LinkedIn: http://www.linkedin.com/in/plind Flickr: http://www.flickr.com/photos/fake51 BeWelcome: Fake51 Couchsurfing: Fake51 </hype>

« previous php.general (#303906) next »