http://mattmcinvale.com/test.php
here is the exact file i uploaded.
<?
echo "
<form action=$PHP_SELF method=post>
<input type=text name=wholesale size=10 value=''>
<input type=submit name='addem' value='Add'>
";
if($addem)
{
echo "<option>$wholesale</option>";
}
echo "
</form>
";
?>
it seems to be working fine on my machine.. what version of PHP are you running?