Is there a way to allow the php tags with the strip_tags() function ?
i've tried strip_tags($text, '<?>') and strip_tags($text, '<? ?>') but it doesnt work ..
any help would be appreciated thanx ..
Is there a way to allow the php tags with the strip_tags() function ?
i've tried strip_tags($text, '<?>') and strip_tags($text, '<? ?>') but it doesnt work ..
any help would be appreciated thanx ..
Jump to PostNote: HTML comments and PHP tags are also stripped. This is hardcoded and can not be changed with allowable_tags .
You'll have to create your own function.
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.