Re: Little php code - error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 {

BTW, the "and" is fine.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux