Passing variables
I can't get the variable to pass to php in the following
-----------------------
in kform.htm I have (this form works ok)
<HTML>
<HEAD>
First Form
<?HEAD>
<BODY>
<FORM METHOD="POST" ACTION="kform1.php">
<P> First Name: <INPUT TYPE = "text" Name = "firstname SIZE = "20">
<P><P>
<INPUT TYPE="submit" VALUE="Send info">
<INPUT TYPE="reset">
</FORM>
</BODY>
</HTML>
------------------------------
in kform1.php , I have
<?php
$firstname = $_GET['firstname'];
echo "Hi, your first name is: $firstname" ;
?>
---------------------------
When I run this I get
Notice: Undefined index: firstname in C:\Program Files\BadBlue\PE\kform1.php on line 4
Hi, your first name is:
|