Profile
Achievement


jdstraughan's Recent SnippetsTagged regex
- All /
« Prev 1 Next »
If you have a title, for something like a blog or product, and want to make an seo-friendly name to call it, here is a function.
SAMPLE INPUT:
$title = "This foo's bar is rockin' cool!";
echo make_seo_name($title);
//RETURNS:
//this-foos-bar-i...
10
1856
posted 16 years ago by jdstraughan