Im looking for advice, suggestions or link on my problem:
I have forms where users can submit their story. And they have to write a title in seperate field. And thing I want to do is - take this submitted title and convert it so it would be usable in url.
For example,
User submits story and gives it title - "My totally awesome story!!! Read it...."
And php script should make from it something like - my_totally_awesome_story_read_it , so I can store in db and make link to story like - www.domain.com/story.php?id=my_totally_awesome_story_read_it
As you see, here is necessary to skip symbols that cant be used in url.
What can you advise me, is there any working example available or link?
Thanks.