Welcome Guest, Not a member yet? Register   Sign In
String as an URL
#5

[eluser]Xeoncross[/eluser]
The easiest way (to support post title changes) is to also include the rows ID.

Code:
/blog/read/23/the_post_slug

Which calls

Code:
blog->read(23, 'the_post_slug');


Messages In This Thread
String as an URL - by El Forum - 09-06-2009, 09:50 AM
String as an URL - by El Forum - 09-06-2009, 02:03 PM
String as an URL - by El Forum - 09-06-2009, 02:05 PM
String as an URL - by El Forum - 09-07-2009, 12:26 PM
String as an URL - by El Forum - 09-07-2009, 04:05 PM
String as an URL - by El Forum - 09-07-2009, 05:14 PM
String as an URL - by El Forum - 09-08-2009, 06:24 AM
String as an URL - by El Forum - 09-08-2009, 06:28 AM
String as an URL - by El Forum - 09-08-2009, 07:07 AM
String as an URL - by El Forum - 09-08-2009, 07:55 AM
String as an URL - by El Forum - 09-09-2009, 12:07 PM



Theme © iAndrew 2016 - Forum software by © MyBB