Welcome Guest, Not a member yet? Register   Sign In
You probably get this one..?
#6

[eluser]developer10[/eluser]
Well, i think i finally found a good solution, and yet very simple:
In my view, at the point i want my bid count to appear:

Code:
echo $this->ponude->countPonude($value['pro_id']);

I call this function from a model related to bids.
But maybe for many of you it is bad practice to call models from a view?


Messages In This Thread
You probably get this one..? - by El Forum - 09-27-2010, 12:51 PM
You probably get this one..? - by El Forum - 09-27-2010, 01:07 PM
You probably get this one..? - by El Forum - 09-27-2010, 01:58 PM
You probably get this one..? - by El Forum - 09-27-2010, 08:41 PM
You probably get this one..? - by El Forum - 09-28-2010, 08:29 AM
You probably get this one..? - by El Forum - 09-28-2010, 08:49 AM



Theme © iAndrew 2016 - Forum software by © MyBB