Page 1 of 1

PHP email

Posted: Tue Mar 30, 2004 12:21 pm
by Yangtze
First of all, I did tried this:
http://www.php.net/manual/en/ref.mail.php

But I could not find the solution.


I want to send out the results generated from the MySQL database.
For example:
Recoard #1, Regal China, 4 nights, $514, 5 star, Check Availability

Recoard #2, Victoria, 4 nights, $431, 5 star, Check Availability

when a visitor click the link "check availability" after the record he is interested in, it will direct visitors to a new page "display.php", it has more information of the record he/she chose.

I want to add a form in the "display.php" page, like the html feedback form.
However in the form I want to add into the "display.php", visitors will no longer need to input informatin that are generated from the database.

He need to add his/her contact info. and a short message, then press "submit".

What I will receive is not only contact info. and the possible message left by the visitor, but also information generated from the database.

So I can know which availability information he/she is asking for.

I was completely new to PHP and MySQL one month ago, with great effort of myself and help from you guys, I have managed to create a nice searchable and editable database.
And now I need the help from you again.

Any hint would be highly appreciated.

Posted: Tue Mar 30, 2004 12:25 pm
by Yangtze
Is there some where on the web tutorials about my question?

I tried "email php", "form php email", "php result form" etc. at G.

Could't find what I want

:oops:

Posted: Tue Mar 30, 2004 1:01 pm
by magicrobotmonkey
check out phpmailer. its simple!!

Any tutorial?

Posted: Tue Mar 30, 2004 2:10 pm
by Yangtze
Hi I searched "phpmailer" at G, I can't find any useful information.

Would you please offer me more information?
Thanks

Posted: Tue Mar 30, 2004 8:27 pm
by anotherJean
Well ....mayb I didn't get it ...but it seems to be the basic stuff you demand. the reference you've posted describes exactly what you want.

Just look to the examples and adjust the variables to yours.