|
It appears that you're running an Ad-Blocker. This site is monetized by Advertising and by ">User Donations; we ask that if you find this site helpful that you whitelist us in your Ad-Blocker, or make a ">Donation to help aid in operating costs.
#18984 - 06/08/02 01:22 AM
PHP form processing troubles.
|
Joined: Mar 2002
Posts: 562
Le4rner
UGN Supporter
|
UGN Supporter

Joined: Mar 2002
Posts: 562
|
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 <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>
test.php <?php
mail ("$email", "$name... $freind wants you to check this site", "$message !n http://rrfn.promodtecnologies.com !");
?>
|
|
|
|
Forums41
Topics33,701
Posts68,795
Average Daily Posts0
|
Members2,174
Most Online1,567 Apr 25th, 2010
|
|
|
Okay WTF?
by HenryMiring on 09/27/17 08:45 AM
|
|
|
|
|
|
|
|
|
|