Here is a short tutorial that will represent to you the way of creating a URL slug from string with PHP. It should be an essential part of any website.