Re: Little php code - error
| From: | Dan Joseph | Date: | Thu, 08 Apr 2010 14:26:16 +0000 |
| Subject: | Re: Little php code - error | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-303903@lists.php.net to get a copy of this message | ||
On Thu, Apr 8, 2010 at 10:21 AM, Juan <juan@rodriguezmonti.com.ar> wrote:
> Hi guys,
> I'm having trouble with the following little php code [0]. The output
> from the server is : "
> * Parse error: syntax error, unexpected '{' in file.php on line 27 *
>
> Let's assume that file.php is the file that is giving me some troubles.
>
> 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.
>
> I'm running PHP5, Apache2, and Ubuntu 9.10 with sqlite, as you could see.
>
>
Its your if's, elseif's, else's. You have "and", change that to
&&.
--
-Dan Joseph
www.canishosting.com - Unlimited Hosting Plans start @ $3.95/month. Promo
Code "NEWTHINGS" for 10% off initial order
http://www.facebook.com/canishosting
http://www.facebook.com/originalpoetry