OT - Code help

From: Date: Tue, 10 Dec 2002 21:36:16 +0000
Subject: OT - Code help
Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-6717@lists.php.net to get a copy of this message
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

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