Converting text to Safe Tags |
[eluser]Seppo[/eluser]
As a matter of fact there is a function in the URL helper to do this. url_title() Takes a string as input and creates a human-friendly URL string. This is useful if, for example, you have a blog in which you'd like to use the title of your entries in the URL. Example: $title = "What's wrong with CSS?"; Code: $url_title = url_title($title); |
Messages In This Thread |
Converting text to Safe Tags - by El Forum - 04-17-2008, 03:48 PM
Converting text to Safe Tags - by El Forum - 04-17-2008, 04:04 PM
Converting text to Safe Tags - by El Forum - 04-17-2008, 04:07 PM
Converting text to Safe Tags - by El Forum - 04-17-2008, 04:35 PM
Converting text to Safe Tags - by El Forum - 04-17-2008, 05:03 PM
Converting text to Safe Tags - by El Forum - 04-17-2008, 05:26 PM
Converting text to Safe Tags - by El Forum - 04-17-2008, 05:31 PM
|