Welcome Guest, Not a member yet? Register   Sign In
view_post method for a forum
#5

[eluser]TheFuzzy0ne[/eluser]
Ah, nuts! I just realised I missed your point. It wasn't to trim the IDs from the end, it was to actually yield the position of the post. The solution works beautifully with the posts as a whole, but I can't make that work within a specific topic ID without a sub-select. Or at least I don't think it's possible. I can't wait for the day when MySQL is built with this in mind, and allows you to grab the position of a row within a result set.


Messages In This Thread
view_post method for a forum - by El Forum - 06-11-2009, 07:01 AM
view_post method for a forum - by El Forum - 06-11-2009, 07:21 AM
view_post method for a forum - by El Forum - 06-11-2009, 07:31 AM
view_post method for a forum - by El Forum - 06-11-2009, 07:34 AM
view_post method for a forum - by El Forum - 06-11-2009, 07:44 AM
view_post method for a forum - by El Forum - 06-11-2009, 07:48 AM
view_post method for a forum - by El Forum - 06-11-2009, 07:49 AM
view_post method for a forum - by El Forum - 06-11-2009, 07:53 AM
view_post method for a forum - by El Forum - 06-11-2009, 07:57 AM
view_post method for a forum - by El Forum - 06-11-2009, 09:36 AM
view_post method for a forum - by El Forum - 06-11-2009, 09:37 AM



Theme © iAndrew 2016 - Forum software by © MyBB