It should have quotes, unless you have defined formReviewBy as a constant

PHP's nice enough to interpret it as a string if using it as a constant
fails, but you should still quote it anyway.

Martin


> <?php if ($_POST[formReviewBy]=="Cade Lloyd") { echo "selected"; } ?>
> 
> Should $_POST[formReviewBy] have quotes or dose it not matter?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to