Re: Little php code - error
| From: | David Otton | Date: | Thu, 08 Apr 2010 14:30:12 +0000 |
| Subject: | Re: Little php code - error | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-303905@lists.php.net to get a copy of this message | ||
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 {
BTW, the "and" is fine.