Unclassified NewsBoard Code Reference

UnbTextToURL function

Convert a given string to make it URL-safe (SEO-like)

function UnbTextToURL ($str);

Parameters:

str
(string) Text to convert. Will replace spaces and other characters by "-"

Return value:

(string) converted string

Implementation file: unb_lib/common.lib.php, line 1282

© 2006 Yves Goergen. Unclassified NewsBoard Homepage. Reference based on UNB unb.devel.20060128, dated 2006-01-28.