Re: [SMARTY] OT - Code help

From: Date: Wed, 11 Dec 2002 04:23:23 +0000
Subject: Re: [SMARTY] OT - Code help
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-6728@lists.php.net to get a copy of this message
http://www.google.com/search?hl=en&ie=UTF-8&oe=UTF-8&q=parse%0D%0Aerror%2C+unexpected+T_IF&btnG=Google+Search James Johnson wrote:
Hi, sorry for the off-topic but need a quick answer. What's wrong with this code? PHP gives me the following error: "parse error, unexpected T_IF" print("<option value=" . $row_statusList['statusNum'] . ">" if(!(strcmp($row_statusList['statusNum'], $projStatus))) {echo "SELECTED";} . $row_statusList['statusNum'] . "</option>"); Thanks, James Johnson
-- Travis Low <mailto:travis@dawnstar.org> <http://dawnstar.org/travis>

« previous php.smarty.general (#6728) next »