Hello
Sorry bro, I can not follow your code today because I am very busy in my other works. But i have a code related to your problems. So I have posted the code below. Just go through it, see that may help you.
Code:
$title=$getinf['title'];
$title=strrep('.',' ',$title);
$title=strrep('?',' ',$title);
$title=trim ($title); //trims the blank space at the beginning and end of string
$title=strrep(' ','-',$title);
echo "<a href=".$getinf['id'] ."/". $title . ".html" . "><small>Read More</small></a>";
any more queries then do post back.
Bookmarks