I have this:
------------
print "<FORM name=\"form3\" ACTION=\"cmdlog _rep.php\">\n";
print "<TD><INPUT TYPE=\"submit\" VALUE=\"Submit\ "></TD>\n";
..
print "<INPUT type=\"HIDDEN\" name=\"year1\" >\n";
print "<INPUT type=\"TEXT\" name=\"when\" >\n";
print "</FORM>\n";
if click on submit I get this:
------------------------------
and I can't get the values here:
--------------------------------
<?php
// set server access variables
$when = $_REQUEST['when'];
$year1 = $_REQUEST['year1'];
..
..
echo $when;
echo "<BR>";
echo $year1;
echo "<BR> The test ends here\n";
?>
---------------------------------
What am I doing wrong?
Thanks in advance.
Ray
------------
print "<FORM name=\"form3\" ACTION=\"cmdlog _rep.php\">\n";
print "<TD><INPUT TYPE=\"submit\" VALUE=\"Submit\ "></TD>\n";
..
print "<INPUT type=\"HIDDEN\" name=\"year1\" >\n";
print "<INPUT type=\"TEXT\" name=\"when\" >\n";
print "</FORM>\n";
if click on submit I get this:
------------------------------
and I can't get the values here:
--------------------------------
<?php
// set server access variables
$when = $_REQUEST['when'];
$year1 = $_REQUEST['year1'];
..
..
echo $when;
echo "<BR>";
echo $year1;
echo "<BR> The test ends here\n";
?>
---------------------------------
What am I doing wrong?
Thanks in advance.
Ray
Comment