Ahh, Pagination not displaying results :-( [SOLVED]

#2
[eluser]cideveloper[/eluser]
The problem you are having here is www.mydomain.com/visas/forum/general-topics/10 is passing $postID = 10 to general_topics thus running your else statement and pulling up visas/visa-forum-single-post-view

You should not do it this way. Have one controller and if you must 2 functions. The first function pulls up the list with pagination, while the second pulls up each single post.
I prefer to have 2 controllers. The first pulls up the list with pagination, while the second pulls up each single post.


Messages In This Thread
Ahh, Pagination not displaying results :-( [SOLVED] - by El Forum - 05-10-2011, 02:33 PM
Ahh, Pagination not displaying results :-( [SOLVED] - by El Forum - 05-10-2011, 03:24 PM
Ahh, Pagination not displaying results :-( [SOLVED] - by El Forum - 05-11-2011, 02:31 AM
Ahh, Pagination not displaying results :-( [SOLVED] - by El Forum - 05-11-2011, 03:50 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.