PDA

View Full Version : Help with table in email


javierrebelde
08-24-2009, 08: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

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

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

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

javierrebelde
08-27-2009, 05: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.

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