wrong variable assignation
Status: Beta
Brought to you by:
jhsolorz
http://php-html.sourceforge.net/html2text.php
Seems to have an error on the page:
In the example given:
include ("html2text.inc");
$htmlText = "... HTML text here ...";
$asciiText = new Html2Text ($htmlText, 15); // 15
columns maximum
$text = $htmlToText->convert();
echo "Converted to: " . $text;
The 4th line $text = $htmlToText->convert();
should read
$text = $asciiText->convert();