Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
0

Anyone know how to show table format in email using php?

New Here ,
Oct 16, 2009 Oct 16, 2009

Copy link to clipboard

Copied

I created a form using tables in dreamweaver.. and my email works and I used php.

My issue is I want my submitted form to look like the form I built in dreamweaverwith the tables and spaces etc. Is there a way to do this?

TOPICS
Server side applications

Views

480
Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Oct 17, 2009 Oct 17, 2009

Copy link to clipboard

Copied

LATEST

The PHP mail() function uses plain text. To format the output of the user input as a table, you would need to create an HTML email, wrapping the user input in table tags. Example #4 in the PHP mail() manual page shows how to create HTML email: http://docs.php.net/manual/en/function.mail.php.

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines