--- Chris Overland <[EMAIL PROTECTED]> wrote: > Can anyone tell me where on the net I might find > examples of php code where upon entry from a php form > into an MySQL database, a group of system users might > receive the form data via email? (Maybe even mail out > a daily digest kind of thing as yahoo groups does).
Sending the e-mail is pretty straightforward. You can start with the mail() function built in to PHP: http://www.php.net/manual/en/function.mail.php That page has several good examples. If you want just a daily digest, you will need to do one of two things.... 1) set up a 'cron job' that will run once a day, gather that day's updates, and e-mail them. or, probably easier.... 2) Put everyone who is supposed to receive the e-mail on some type of e-mail list group and have PHP send this report e-mail to the list group address. Then people can receive either the individual e-mails or the digests (if the list is set up to allow it). Michael Roush [EMAIL PROTECTED] "The power of the Web is in its universality. Access by everyone regardless of disability is an essential aspect." -- Tim Berners-Lee, W3C Director and inventor of the World Wide Web __________________________________ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com ------------------------ Yahoo! Groups Sponsor --------------------~--> Fair play? Video games influencing politics. Click and talk back! http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/CefplB/TM --------------------------------------------------------------------~-> The php_mysql group is dedicated to learn more about the PHP/MySQL web database possibilities through group learning. Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/php_mysql/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
