Hi all,
What's the best way to turn HTML code into plain text?
Lewis
Hi all,
What's the best way to turn HTML code into plain text?
Lewis
strip off the html tags and leave everything else?
try this:
$text = @implode("", @fopen("file.html"));
$text = strip_tags($text);
Post me a message if it works.
Well, that would be the absolute basics of the process...but determining where link breaks should be (</p>,<br>), and how to handle tables, etc...
This is for sending email by the way.