MOSTAGHASSI
asked on
Remove « and   from text in php
Hi;
I want to remove html tags and also tags like: « / /» from text and get clean text,i use the function strip_tags() but this function cannot remove all of these tags,need a function that clean completely a text in php.
Thanks in advance
I want to remove html tags and also tags like: « / /» from text and get clean text,i use the function strip_tags() but this function cannot remove all of these tags,need a function that clean completely a text in php.
Thanks in advance
You can use str_replace() for this. I'll try to show you an example in a minute.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks Ray
:-)