user7588169
user7588169

Reputation:

Issue With PHP Contact Form

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

Answers (2)

lkdhruw
lkdhruw

Reputation: 582

Try this "Name: {$name } ... and so on

Upvotes: 0

Gmnayem
Gmnayem

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

Related Questions