Welcome Guest, Not a member yet? Register   Sign In
Model Function returns empty array...
#1

[eluser]nagata[/eluser]
So I have been developing my site today, When I decide to move user list part to the template part it was going all right, but then that one mement,
which responds for Online/Offline stopped working, though was working perfect before on the old one without templating.....

I found the problem is that it dosent return array in my model function, I dont know why
heres my model function:
http://pastebin.com/mCW31Rf4
Ignore the $debug I was just checking why it no work...

and here is my template parse part
http://pastebin.com/eruhkj5p
Seems right to me...

and here is the template it self
http://pastebin.com/DikGwvtF

and here is the old view I was using... which was working...
http://pastebin.com/rQTJnbg7

Any help guys? I need this to be working Sad




Theme © iAndrew 2016 - Forum software by © MyBB