I'm trying to learn how to program in php, but I'm doing something wrong. I'm using a simple html form to obtain two string variables and pass them to a .php file that simply prints them ,but the .php file won't print them. I don't get an error message and some other text that was in the .php file but not in the <? ?> tags showed up. What am I doing wrong?
that makes it hard :
page1
<input name="textfield" type="text">
page2:
to display the textfield on the nextpage:
$mytext = $_REQUEST[textfield];
print $mytext;