This is not so much a database question. The answer is yes, it can be. You
can read the documentation to find out how.
http://www.php.net/manual/en/function.mail.php
A quick example is:
<?php
$body = '';
foreach ($_POST as $key=> $val){
$body .= "$key = $val\n";
}
mail ($address, "Form submission", $body);
?>
That is really ugly an inelegant. I would suggest building off of it by
adding error checking and formatting the mail body.
-----Original Message-----
From: Mike Delorme [mailto:[EMAIL PROTECTED]
Sent: Monday, March 31, 2003 3:23 PM
To: MySQL PHP Database Help
Subject: [PHP-DB] mail()
Can this fucktion be use to mail the submited content of a form? If so how?
Thanks for your time,
Mike Delorme
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php