I have apache 2.0.35, PHP4, ... on a win98 server.
I have an HTML form info.html:
<BODY>
<FORM ACTION="displayit.php" METHOD="POST">
Your first name:<BR>
<INPUT TYPE="text" NAME="fname" SIZE="20" MAXLENGTH="30">
Your last name:<BR>
<INPUT TYPE="text" NAME="lname" SIZE="20" MAXLENGTH="30">
<INPUT TYPE="submit" VALUE="Send it!">
</FORM>
</BODY>
displayit.php:
<?
/* this script should handle the variables passed from the info.html file */
PRINT "<CENTER>";
PRINT "$fname";
PRINT " ";
PRINT "$lname";
PRINT "</CENTER>";
?>
Variables: fname and lname seem NOT be being passed from form to displayit.php.
We can't use PHP if we can't get something this simple working.
Please help!
tim@tgm.org
I have an HTML form info.html:
<BODY>
<FORM ACTION="displayit.php" METHOD="POST">
Your first name:<BR>
<INPUT TYPE="text" NAME="fname" SIZE="20" MAXLENGTH="30">
Your last name:<BR>
<INPUT TYPE="text" NAME="lname" SIZE="20" MAXLENGTH="30">
<INPUT TYPE="submit" VALUE="Send it!">
</FORM>
</BODY>
displayit.php:
<?
/* this script should handle the variables passed from the info.html file */
PRINT "<CENTER>";
PRINT "$fname";
PRINT " ";
PRINT "$lname";
PRINT "</CENTER>";
?>
Variables: fname and lname seem NOT be being passed from form to displayit.php.
We can't use PHP if we can't get something this simple working.
Please help!
tim@tgm.org