Forum Moderators: coopster
Change This
<?php
mail('email@email.com', 'Subject', 'Message');
?>
Into
<?php
mail('email@email.com', 'Subject', '$firstname');
?>
$message = "Hello $firstname! How are you doing today?";
[url=http://us3.php.net/manual/en/function.mail.php]mail[/url]('email@example.com', 'Subject', $message);
Also, take a look at these two threads, assuming you are going to have a form ;):
Basics of Submitting and Emailing Forms with PHP [webmasterworld.com]
Combatting Webform hijack [webmasterworld.com]
$message = "Hello $firstname $lastname! How are you doing today? You last visited $last_visited. Is this correct? Your mother's name is $mother and your father's name is $father. And $answer I $answer_grammar stalk people for a living!";
;)
It's Monday tomorrow ;) But you too!...hehe