Nullified Posted October 1, 2012 Share Posted October 1, 2012 mysql_query("SELECT name, replace(replace(replace(replace(replace(replace(replace(replace(replace(replace(name,' ','-'),'&','and'),'&','and'),',',''),'.',''),'?',''),';',''),'/','or'),'\'',''),'\\\\','') as urlfriendlytitle FROM tblknowledgebasecats WHERE id = '" . $cats['id'] ."'"); I am using the above sql queries to seo the links for kb articles and it works, but please please there has to be a better way to replicate the seo urls that WHMCS uses for announcements. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.