I’m trying to add another field (the phone field) to the already made form. Here is my form code ->
[solved – code removed]
What would I add to the contact.php code to show the form field in the message section of the email?
Line where there is:
$message = strip_tags(stripslashes($_POST['message']));change to:
$message = strip_tags(stripslashes($_POST['message'] . ' Phone: ' . $_POST['phone']));