Page 1 of 1

email with link??

Posted: Mon Jan 05, 2004 9:35 am
by melindaSA
I have an on-line application form that is submitting to a MySql Database,
and I have a function (display_app_details)that retrives this info from the database, what I need to do
is send an email to an admin that a new application has been submitted with a link to
the web page with the output from the database (display_app_details).

Can this be done??

Posted: Mon Jan 05, 2004 9:52 am
by m3mn0n
Yes.

Posted: Mon Jan 05, 2004 9:54 am
by patrikG
[php_man]mail[/php_man] is friendly and useful.

Posted: Mon Jan 05, 2004 10:44 am
by melindaSA
Thank you, but I feel really stupid!

Do I need to write a function so that the link will be added to the email
(http://www.whatever.com/app/show_app.php?appID=11)??

Not sure where to start with this.......HELP!!

Posted: Mon Jan 05, 2004 11:00 am
by patrikG
Do I need to write a function so that the link will be added to the email
(http://www.whatever.com/app/show_app.php?appID=11)??
Yes, indeed. You will need a uniqueID for each user and send it out. Have a play with the code, you've got the logic pretty much sussed and it's not very difficult...
You'll learn a lot about PHP :)

If you're running Windows and haven't already download the annotated help file version of the PHP manual, use the link in my sig - it's very handy.