I'm having a problem passing user data from a form to a page that uses that data. The form is a simple .htm page that has one text field where the user enters a number. The form's action is set to the output page and the text field is named "level".
When it sends the number to the output.php page I am using the following (very simple) code just to test that the value is being passed..
<?php print "Your level is ".$level."!"; ?>
Now the problem is that when I try this script on my site hosted by an ISP (apache), the script passes the value properly and the out put is as it should be (Your level is 3!). On my personal server (which is IIS 5) it doesn't work all the way because I only get (Your level is !). The code works but no value is shown and I get a notice that the variable has no value.
It's the exact same code so I’m assuming that I haven't setup something properly on my IIS server. With the exception of the values not passing out of the form, everything else with php seems to work ok.
I've looked all over and I’ve checked my php.ini setup over and over but to now avail. I'm stumped at this point and need some help. Does anyone have any ideas as to what my problem might be?