email with link??

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
melindaSA
Forum Commoner
Posts: 99
Joined: Thu Oct 02, 2003 7:34 am

email with link??

Post 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??
User avatar
m3mn0n
PHP Evangelist
Posts: 3548
Joined: Tue Aug 13, 2002 3:35 pm
Location: Calgary, Canada

Post by m3mn0n »

Yes.
User avatar
patrikG
DevNet Master
Posts: 4235
Joined: Thu Aug 15, 2002 5:53 am
Location: Sussex, UK

Post by patrikG »

[php_man]mail[/php_man] is friendly and useful.
melindaSA
Forum Commoner
Posts: 99
Joined: Thu Oct 02, 2003 7:34 am

Post 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!!
User avatar
patrikG
DevNet Master
Posts: 4235
Joined: Thu Aug 15, 2002 5:53 am
Location: Sussex, UK

Post 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.
Post Reply