I have an HTML stripping function: untag() which returns the string passed to it, minus the HTML tags. I wish to pass all the Titles or Descriptions (depending on what the user has selected) through my html stripper function.
I was hoping this could be done with a single update function. But if not, I guess it would have to be a loop of every record.... select, then update.
$affected = $ct->update(
{
Title => \"REPLACE('Title','%', untag('%')"
}
);}
http://www.iuni.com/...tware/web/index.html
Links Plugins
I was hoping this could be done with a single update function. But if not, I guess it would have to be a loop of every record.... select, then update.
Code:
if ($option eq 'Title') { $affected = $ct->update(
{
Title => \"REPLACE('Title','%', untag('%')"
}
);}
http://www.iuni.com/...tware/web/index.html
Links Plugins