Re: Newbie "If" question

From: Date: Fri, 09 May 2003 14:43:51 +0000
Subject: Re: Newbie "If" question
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-147030@lists.php.net to get a copy of this message
hello Dani, try to remove the ';' before your final else: your code here::::: .... }; else echo "What do you want to do?"; ?> .... ----- Original Message ----- From: "Dani Matielo" <dmatielo@uol.com.br> To: <php-general@lists.php.net> Sent: Friday, May 09, 2003 5:26 PM Subject: [PHP] Newbie "If" question > Hello, > > I am having problems with this string, it returns a "parse error" and I > can't find it... I appreciate any help. Thanx. :) > > <? > > if ($permissao) { > if ($permissao == 8) include ("criar_editoria.php"); > else echo $permissao; > }; > else echo "What do you want to do?"; > > ?> > > > > > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.476 / Virus Database: 273 - Release Date: 24/4/2003 > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >

« previous php.general (#147030) next »