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?
$message = strip_tags(stripslashes($_POST['message']));change to:
$message = strip_tags(stripslashes($_POST['message'] . ' Phone: ' . $_POST['phone']));
- Please read our community guidelines. Self promotion and discussion of piracy is not allowed.
- Open a support ticket if you would like specific help with your account, deposits or purchases.
- Item Support by authors is optional and may vary. Please see the Support tab on each item page.
Most of all, enjoy your time here. Thank you for being a valued Envato community member.