Page 1 of 1

PHP help

Posted: July 13th, 2005, 12:56 pm
by Scorpo
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?

paste the code in for the 2 pages.

Posted: August 20th, 2005, 1:45 am
by colin
can you show me the code.

Posted: August 20th, 2005, 1:55 am
by Scorpo
unfortunately, for security reasons, no. I cannot show you the code.

Posted: August 20th, 2005, 2:07 am
by colin
that makes it hard : page1 <input name="textfield" type="text"> page2: to display the textfield on the nextpage: $mytext = $_REQUEST[textfield]; print $mytext;