I really know nothing at all about
PHP language but I have this set up in an email
php file that takes from a flash file. My question is how can I format this so that it doesn't just list the info. For instance, I would like it to display the information in the email like this:
Name: First, Last
Email: Email
Phone: Area-Phone
Message: Message
With each of these, the variable is shown after the ":"
- PHP: Select all
<?
$to = "dblake@kiddykiosk.com";
$subject = "Kiddy Kiosk Inquiry";
$msg = "$First\n\n";
$msg .= "$Last\n\n";
$msg .= "$Area\n\n";
$msg .= "$Phone\n\n";
$msg .= "$Message\n\n";
mail($to, $subject, $msg, "From: Kiddy Kiosk Contact \nReply-To: $Email\n");
?>
Thanks,
Dave