Reputation:
I have made a PHP script and a contact form in html. However, when I fill the form, it say's the email was sent but when I get the email it looks like this:
Name: Email: Skype: Message:
It says them but not what I actually typed in the contact form next to them.
My HTML and PHP is on this link: https://hastebin.com/osilogatar.xml
Upvotes: 0
Views: 60
Reputation: 111
$body = " Name: $name \n Email: $email \n Skype: $skype \n Message: $message \n\n IP Address: $ip";
Use this, hope it helps.
Upvotes: 1