Hi,
Do I gather from this discussion that Dadabik will soon be able to email an alert when an entry is added in the database? This is exactly what I am looking for.
Users request services from my website using a form which is sent to me with a FormMail cgi script. I then have to laboriously type in the record details to the database using a Dadabik interface.
Is there currently a way in which this can be done automatically, i.e. for me to use a modified Dadabik form as the user interface, which both posts an entry to the database AND emails the entire post to me?
If this feature is not yet available built-in to Dadabik, is there a modification I can make to Stan's suggestion:
////////////////////////////////////////////////////////////////
// send email notification of record insert execution
////////////////////////////////////////////////////////////////
$message = "First line of your message\nSecond line of your message\n\nhttp://yourhost.com/yourDadabiklink\n\nPlease do not reply to this email.\nIt has been generated automatically by the database interface.\n";
mail("recipient@hishost.com", "New Record Inserted", $message,
"From: <you@yourhost.com>\r\n"
."Reply-To: \"you@yourhost.com\"\r\n"
."X-Mailer: PHP/" . phpversion());
//////////////////////////////////////////////////////////////////////
// end send email notification of record insert execution
//////////////////////////////////////////////////////////////////////
...which would mail me the WHOLE record (about 20 fields) rather than just a notification. I guess this might be quite easy???
Would love a quick response!
Many thanks,
George