Having trouble with a simple PHP mail form, here’s the PHP for it:
<?php
$name = $_REQUEST['name'] ;
$email = $_REQUEST['email'] ;
$phone = $_REQUEST['phone'] ;
$date = $_REQUEST['date'] ;
$message = $_REQUEST['message'] ;
mail( "guestlist@glowstudents.com", "Request for Guestlist at GLOW.",
$message);
header( "Location: http://www.glowstudents.com/test/guestlist2.html" );
?>
How do I edit it so that all the information (name, email, phone, date and message) are sent in an email to that address? I’v tried putting the other $ tags in but it just gives me errors everytime.