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
putting stringchain in a mail
Moderator: General Moderators
-
thomasunique
- Forum Newbie
- Posts: 1
- Joined: Sun Nov 03, 2002 10:01 am
- AVATAr
- Forum Regular
- Posts: 524
- Joined: Tue Jul 16, 2002 4:19 pm
- Location: Uruguay -- Montevideo
- Contact:
you need
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
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