furl functions
furl($string) {#furl}
convert string to url friendly string
{{lang:php}}
echo furl('Dobra češnja');
// Dobra-cesnja
makefurl($name,$tablename,$id=0) {#makefurl}
checks if furl already exist in table colone "name" and if it does adds incremental (-x) on the end if $id specified checking ignores row id
{{lang:php}}
echo makefurl('Dobra češnja','articles');
// Dobra-cesnja-2
// if updating
echo makefurl('Dobra češnja','articles',2);
// Dobra-cesnja