
07-14-2006, 06:11 AM
|
|
SEO Junior and a half
|
|
Join Date: May 2005
Posts: 57
|
|
i would take out spaces and underscores...
PHP Code:
$urlname=preg_replace('/\s/','',$artRow['subject']);
$urlname=preg_replace('/\W/','',$urlname);
$urlname = substr_replace($urlname, "", 26);
|