My Question Means
I have a site I Installed DATALIFE ENGINE CMS now i recently Add a Module called recent Searches That Module Work Good but I have one problem When I searching something in site for Example >
"Google Talk Download" in search bar [ I hit Enter]
Then Search Result open In search result page title Is like this "Google%Talk%Download -Mysite.com"
% < this is the Problem
I think here Is something Wrong
Quote:
{
function strip_data($text) {
$quotes = array ("\x27", "\x22", "\x60", "\t", "\n", "\r", "'", ",", "/", "¬", ";", ":", "@", "~", "[", "]", "{", "}", "=", ")", "(", "*", "&", "^", "%", "$", "<", ">", "?", "!", '"' );
$goodquotes = array ("-", "+", "#" );
$repquotes = array ("\-", "\+", "\#" );
$text = stripslashes( $text );
$text = trim( strip_tags( $text ) );
$text = str_replace( $quotes, '', $text );
$text = str_replace( $goodquotes, $repquotes, $text );
return $text;
}
|
Please help me ....
|