|
hi i have the text in the database
$text= i am looking <BR> to you about 2 hour's before
and now i want the output
output = i am looking to you about 2 hour's before
if i use the preg_replace('<BR>', "", $text) then it shows the result like this
output= i am looking <> to you about 2 hour's before
if i use the htmlspecialchars($text); then it remove the <br> tag but also remove (hour's) and change it with special codes..
can any one solve my problem
Regards
Faisal Zafar
__________________
[COLOR=Pink]Faisal Zafar[/COLOR]
|