View Single Post
  #7 (permalink)  
Old Jul 23rd, 2007, 14:58
David Blake David Blake is offline
Junior Member
Join Date: Nov 2005
Location: Wisconsin
Age: 38
Posts: 27
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Very basic Email content formatting PHP

Here's all the code I have in the php page:
PHP: Select all

<?
$to
="dblake@kiddykiosk.com";
$subject="Kiddy*Kiosk*Inquiry";
$msg="Name:*".$_POST['First']."*".$_POST['Last'];
$msg.="\nEMail:*".$_POST['Email'];
$msg.="\nPhone:*".$_POST['Area']."-".$_POST['Phone'];
$msg.="\nMessage:*".$_POST['Message'];
mail($to,*$subject,*$msg,*"From:*Kiddy*Kiosk*Contact*\nReply-To:*".$_POST['Email']."\n");
?>

Last edited by karinne; Jul 23rd, 2007 at 15:00. Reason: Please use [php]...[/php] tags when displaying PHP code!
Reply With Quote