PHP form processing troubles. - 06/08/02 01:22 AM
I am trying to do a form (mostly for prctice) that will e-mail a freind the link to a site. HTML and PHP I have is listed below.
I am a bit lost as to what I am doing wrong.
HTML
test.php
I am a bit lost as to what I am doing wrong.
HTML
Code
<html> <head> <title>Form</title> </head> <body bgcolor="#FFFFFF"> <FORM ACTION="test.php" METHOD="POST"> Your Freinds name <INPUT TYPE="text" NAME="name" SIZE="20" MAXLENGTH="30"> Your Name <INPUT TYPE="text" NAME="freind" SIZE="20" MAXLENGTH="30"> Their e-mail address Your message about this site <INPUT TYPE="text" NAME="message" SIZE="50" MAXLENGTH="90"> <INPUT TYPE="submit" VALUE="Send it!"> </FORM> </body> </html>
Code
<?php mail ("$email", "$name... $freind wants you to check this site", "$message !n http://rrfn.promodtecnologies.com !"); ?>