I've got a webpage with a form for emails and I've got the action for the form as a php page ("action=page.php"). This php page has the code to send the email. The problem is that It's not sending the information in the text fields. This is the problem area:
$from_name = $name;
$from_address = $email;
I've named the text fields on the form name and email, however, when I get the email it just has 'name' for the name etc... It's not recognizing the form names.
I'm still learning php, so any help would be great. :)
Question
sphere
Hey guys,
I've got a webpage with a form for emails and I've got the action for the form as a php page ("action=page.php"). This php page has the code to send the email. The problem is that It's not sending the information in the text fields. This is the problem area:
$from_name = $name;
$from_address = $email;
I've named the text fields on the form name and email, however, when I get the email it just has 'name' for the name etc... It's not recognizing the form names.
I'm still learning php, so any help would be great. :)
Link to comment
Share on other sites
6 answers to this question
Recommended Posts