Hello,
I wrote this function:
?php
function CleanUpHtml($var)
{
$var = preg_replace(!t(a|r|d)(.*?)style=\.*?\(.*?)!is, t$1$2$3,
$var);
$var = preg_replace(!table.*?!is, TABLE border=1
bordercolor='#66' cellpadding=3 cellspacing=0, $var);
$var = str_replace(p, , $var);
$var =
Actually, I just threw in this amendment:
function CleanUpHtml($var)
{
$var = preg_replace(!t(a|r|d)(.*?)style=\.*?\(.*?)!is, t$1$2$3,
$var);
$var = preg_replace(!table.*?!is, TABLE border=1
bordercolor='#66' cellpadding=3 cellspacing=0, $var);
$var = str_replace(p, , $var);
$var =
THANKS!!!
great help! :oP
Liljim [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Actually, I just threw in this amendment:
function CleanUpHtml($var)
{
$var = preg_replace(!t(a|r|d)(.*?)style=\.*?\(.*?)!is, t$1$2$3,
$var);
$var =
3 matches
Mail list logo