View Single Post
  #2 (permalink)  
Old 12-17-03, 10:53 AM
kurdapya kurdapya is offline
Newbie Coder
 
Join Date: Dec 2003
Location: philippines
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
hey.. your codes are just fine..
i guess it's the php version and the server you have to check

gud luck


Quote:
Originally Posted by brucewestfall
Here is the code for both pages. I've included the url from my browser. Other pages seem to work fine, but I can't get the variable to show up on other pages.
Php version 4.2.2
Opera version 7.21

// http://localhost/optiontest.html

<HTML>
<BODY>
<form action="optiontest.php" method="post">
<SELECT NAME="firstname">
<OPTION value = "Bruce">Bruce</OPTION>
<OPTION value = bruce>bruce</OPTION>
</SELECT>
<br>
<input type=submit value="TEST IT">
</form>
</BODY>
</HTML>

//http://localhost/optiontest.php
<?
echo "This prints<br>";
echo $firstname;
echo "<br>...but the name didn't";
?>


Help would be really cool.