View Full Version : Help with table in email

08-24-2009, 07:40 PM
Hi, finally i did my very first form now i want modify my form to send the information to my email but organized with a table. the method i am using is this. what i have to ad to send this information in a table to my email and make the description information "First Name" Bold.

$message =
"First name: $firstname
Last Name: $lastname
Street Address: $streetAddress
Address2: $Address2
City: $city
State/Providence/Region: $state
Zip Code: $zipcode
Country: $country
Telephone: ($areacode) $prefix-$number
Email: $email

08-25-2009, 12:39 AM
are you sending using html?

08-26-2009, 07:13 AM
No just php i mean only text but thats what i want sent the information like html in a table.

08-27-2009, 12:55 AM
no you will need to send use html if you want tables

08-27-2009, 04:44 AM
Ok I undestand that but that's is what i want to know what i have to add to my code so i can add <table></table> etc and recognize that as html.

08-27-2009, 04:54 AM
you will need a new script or class its easier than rewriting a simple text mail send script