Re: Little php code - error

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

 



On Thu, Apr 8, 2010 at 10:21 AM, Juan <juan@xxxxxxxxxxxxxxxxxxxxx> 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

[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