Hello everyone, I try to get stripped the tags <p> in my query which is in a databasejoin.
My concat code is :
The contact_title column store the title in html with tags <p> and <sup>. I just want to get off the <p> tag and keep the <sup> tag.
In eval options I tryed :
But it gives me an error.
Could you telle me where I'm wrong. Thanks!
My concat code is :
Code:
(SELECT data_abbreviation FROM data_titles_and_predicates WHERE data_titles_and_predicates.id = {thistable}.contact_title), ' ',{thistable}.contact_firstname, ' ',{thistable}.contact_lastname
In eval options I tryed :
Code:
$title_stripped = strip_tags($opt->text, 'p';
$opt->text = $title_stripped;
Could you telle me where I'm wrong. Thanks!