On 8 April 2010 16:30, David Otton <phpmail@xxxxxxxxxxxxxxxxxxxxxxx> wrote: > On 8 April 2010 15:21, Juan <juan@xxxxxxxxxxxxxxxxxxxxx> 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> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php