Reputation: 2357
Hi i was wondering if there is a function in php to take this 1<sup>o</sup>semaster
and returns me 1o semaster
I want the same function for php as variable.text()
method of jquery
Upvotes: 0
Views: 163
Reputation: 100175
$test = "1<sup>o</sup>semaster echo strip_tags($test);
Upvotes: 0