hello dear friends,
If i have
$manal = "thank you for help";
and
$URL = "siteroot/index.php?r$id";
then i will create a URL but i will remove whitespace
$manal = str_replace(' ', '-', trim($manal));
then i will make the link as follow
$URL = "siteroot/$manal-$id.html";
but it needs .htaccess Okay then let say
RewriteRule -(.*)\.html index.php?r=$1
NOW the problem it won't works and works only if i removed
$manal = str_replace(' ', '-', trim($manal));
so is there any prblem with .htaccess and str_replace or am i did something wrong !!
thanks