Yep. This line is wrong.
You can't have $x = $y, $z; That's trying to assign two things to one variable, or something.PHP Code:$email = "Laura@Woodenteacher.org.uk", $_POST['email'];
Just pick one or the other:
The first will send to that email, and the second will send to whatever value is sent from the form with the name "email", so a text field name="email", for example.PHP Code:$email = "Laura@Woodenteacher.org.uk";
//OR
$email = $_POST['email'];



Reply With Quote


Bookmarks