why all queries fire twice? |
why all queries fire twice? i am using jamie rumbelow's MY_model as base model. see the attachment this is my controllers index method: PHP Code: public function index($page = 0) PHP Code: <?php ![]() ![]() Learning best practices Rate my post if you found it helpfull
Your showing the Controller code, show the Model code.
What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
You need to create your own model extending his MY_Model once you load your extended model all of his methods should work.
What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
(07-16-2016, 01:16 PM)InsiteFX Wrote: You need to create your own model extending his MY_Model once you load your extended model all of his methods should work. yes i am . check the updated code. ************** it seems like there is multiple instance of $db. queries are not running twice. profiler is showing it two times. if there is no query running on page profiler displays two database column ![]() ![]() Learning best practices Rate my post if you found it helpfull |
Welcome Guest, Not a member yet? Register Sign In |