news story titles in urls |
[eluser]Flayra[/eluser]
CI has a built-in converter, url_title() that takes your title as a parameter and returns "friendly" url: Code: $title = 'The Greatest Blog Post ever(tm)'; Code: // Assuming the called URL is something like news/show/the-greatest-blog-post-ever-tm/ |
Messages In This Thread |
news story titles in urls - by El Forum - 06-22-2007, 07:54 AM
news story titles in urls - by El Forum - 06-22-2007, 08:33 AM
news story titles in urls - by El Forum - 06-22-2007, 08:43 AM
news story titles in urls - by El Forum - 06-22-2007, 09:20 AM
news story titles in urls - by El Forum - 06-22-2007, 10:18 AM
news story titles in urls - by El Forum - 06-22-2007, 06:06 PM
news story titles in urls - by El Forum - 06-23-2007, 02:26 AM
news story titles in urls - by El Forum - 06-23-2007, 04:43 AM
|