putting stringchain in a mail

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
thomasunique
Forum Newbie
Posts: 1
Joined: Sun Nov 03, 2002 10:01 am

putting stringchain in a mail

Post by thomasunique »

hello,

I'm a newie in PHP and I want to put a string chian coming from a mysql db in a mail. For example, to receive a mail with the information that people have entered in a form after having put these information in a db.

Unfortunately, I really don't know how to do...

please help...

thanks

thomas
User avatar
AVATAr
Forum Regular
Posts: 524
Joined: Tue Jul 16, 2002 4:19 pm
Location: Uruguay -- Montevideo
Contact:

you need

Post by AVATAr »

You need:

1) Conect to de DB, Select Database: http://www.php.net/manual/en/ref.mysql.php read examples

2) Query de DB (Select Statement): if you use mysql:
Mysql Manual

3) mail function: http://www.php.net/manual/en/function.mail.php

hope that helps
Post Reply