![]() |
PHP echo Help
Hi there
I have been using a feedback form which i found posted in these forums, it has helped me out alot as i'm new to PHP. My question is: When someone completes the form and presses submit, it will email the admin and also send a copy of the email to the sender. In the email it lists all of the fields completed on the form, i would like these fields to be in a table format. Can anyone help? All of the code is listed on this page: http://www.codingforums.com/showthre...=223549&page=2 Thanks in advance Hudbarnett |
I think you mean, put each on separate line. Doing a table is just the same thing unless you have header you want to inclose or something else you want to add.
Anyway, in a email you use /n or /r/n instead of a <br> to force a linefeed. You want something like this: PHP Code:
|
Hi,
You can use html in email view. You just need to change the content type header to text/html instead of text/plain. That was if you really want you can use a standard html table. |
| All times are GMT +1. The time now is 03:40 AM. |
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.