is there an easy way to turn the text that a user enters into a text box into say $text
and simply tell the browser to email $text to my address?
something like:
<?php
$mail_to ="me@myaddress.com";
$mail_subject ="new user";
$mail_body ="$text has joined";
if (mail_to, $mail_subject, $mail_body))
echo "successfully sent the e-mail /"$mail subject/" to $mail_to.";
else echo "Failed to send the message."
?>
I'm sure there are syntax problem with the code, I would be happy for anyone to point them out to me, as well as tell me if this could work, and if not how to do it in a way that will work
Thank you