Page 1 of 1

putting stringchain in a mail

Posted: Sun Nov 03, 2002 10:01 am
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

you need

Posted: Sun Nov 03, 2002 11:55 am
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