The code for form.html is <HTML> <HEAD> <TITLE>HTML Form</TITLE> </HEAD> <BODY> <FORM ACTION="HandleForm.php" METHOD=POST> First Name <INPUT TYPE=TEXT NAME="FirstName" SIZE=40><BR> Last Name <INPUT TYPE=TEXT NAME="LastName" SIZE=40><BR> E-mail Address <INPUT TYPE=TEXT NAME="Email" SIZE=40><BR> Comments <TEXTAREA NAME="Comments" ROWS=5 COLS=40></TEXTAREA><BR> <INPUT TYPE=SUBMIT NAME="Submit" VALUE="Submit"> <INPUT TYPE=RESET NAME="Reset" VALUE="Reset"> </FORM> </BODY> </HTML>
and the code for the HandleForm.php is <HTML> <HEAD> <TITLE>Form Results</TITLE> </HEAD> <BODY> <?php /* This page receives and handles the data generated by "form.html". */ print "Your first name is $FirstName.<BR>\n"; print "Your last name is $LastName.<BR>\n"; print "Your E-mail Address is $Email.<BR>\n"; print "This is what you had to say:<BR>\n $Comments<BR>\n"; ?> </BODY> </HTML> And the book suggested POST instead of GET because it is stated that Post is secure and GET is not. Thanks, spellman --- Justin French <[EMAIL PROTECTED]> wrote: > Show us the code for processing the form! > > My guess is your book uses code with $firstname > rather than > $_POST['firstname']... given that your version of > PHP is probably new > (4.2.x), register_globals is prolly OFF in your > php.ini config file. > > Justin > > > > on 16/05/02 12:13 PM, k spellman > ([EMAIL PROTECTED]) wrote: > > > Just opened a "How to" book today on PHP. Already > > having problems and wouldn't mind an extra set of > > eyes. My basic form does not produce results.Any > > thoughts on this one? > > > > http://www.hermengoode.com/php/form.html > > > > Thanks! > > spellman > > > > __________________________________________________ > > Do You Yahoo!? > > LAUNCH - Your Yahoo! Music Experience > > http://launch.yahoo.com > __________________________________________________ Do You Yahoo!? LAUNCH - Your Yahoo! Music Experience http://launch.yahoo.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php