Re: Little php code - error
| From: | Dan Joseph | Date: | Thu, 08 Apr 2010 14:30:00 +0000 |
| Subject: | Re: Little php code - error | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-303904@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 *
>
Sorry, I gave you bad information...
Its the else line. else doesn't take a condition after it. it should just
be "else {".
--
-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