Slight Problem with emailing a contact form

the mail() function

Moderators: macek, egami, gesf

Post Reply
AdoptiveSolution
New php-forum User
New php-forum User
Posts: 122
Joined: Wed Jun 15, 2016 8:35 am

Re: Slight Problem with emailing a contact form

Post by AdoptiveSolution » Sun Oct 09, 2016 9:16 am

You have a dot (.) instead of an ";" at the end of the line :

Code: Select all

"Here is the message:\n $message". <------ should be ;
    
$to = "admin@tecomputers.co.uk";

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest