Welcome Guest, Not a member yet? Register   Sign In
pagination doesn't work
#9

You're right -- the result variable does contain data, so it shouldn't be undefined. What's happening is that variables in your controller are not visible within your view for some reason. I think the problem must be in the third-party template library. Could you try using Codeigniter's $this->load->view('users/index', $users) just to see if you can access the result variable that way?
Hey, don't work without a PHP debugger. Several free IDEs have this features built in. Two are NetBeans and CodeLobster. Without a debugger, it's like you're driving with a blindfold on -- you are going to crash!
Reply


Messages In This Thread
pagination doesn't work - by chouwech - 03-21-2015, 11:39 AM
RE: pagination doesn't work - by RobertSF - 03-21-2015, 08:34 PM
RE: pagination doesn't work - by chouwech - 03-22-2015, 01:24 AM
RE: pagination doesn't work - by RobertSF - 03-22-2015, 07:49 AM
RE: pagination doesn't work - by chouwech - 03-22-2015, 10:22 AM
RE: pagination doesn't work - by RobertSF - 03-22-2015, 11:55 AM
RE: pagination doesn't work - by chouwech - 03-22-2015, 01:18 PM
RE: pagination doesn't work - by phoenixcoded - 03-25-2015, 05:43 AM
RE: pagination doesn't work - by RobertSF - 03-25-2015, 07:21 AM



Theme © iAndrew 2016 - Forum software by © MyBB