/ Published in: PHP

Get url friendly string
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
/* * getSlug() * @action:return cleaned text of given string * Used to get url friendly title * @parameters: * $str: string to be cleaned * $replace: array of characters to be cleaned; default empty * $delimiter: delimiter to separate words; default is '-' * @return: string of given length * @modified : 19 September 2010 * @modified by: Nilambar */ // } return $clean; }
Comments
