View Full Version : Plaintext HTML from PHP/MYSQL

12-03-2008, 04:20 PM
I am developing a news forum when the user clicks on Publish an email should get sent to me with Javascript along with HTML code and the information the user has provided. I run into the problem of converting the HTML into plaintext. It picks up the HTML tags. The email should look like the markuphtml without the markups in plain TXT so I can just copy and paste. Any suggestions

12-03-2008, 04:56 PM
Can you show us examples of the text and how this text is being created?

12-03-2008, 05:13 PM
Problem Solved

12-03-2008, 07:27 PM
Try using the function strip_tags().


EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum