![]() |
Active Records help - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: Active Records help (/showthread.php?tid=41584) |
Active Records help - El Forum - 05-11-2011 [eluser]Miguel Diaz[/eluser] Hi I dont understan to much about active records and I have a situation trying to load the library pagination and add it to my database query. This is my database model function Code: function mostrarLocatarios($delegacion,$colonia,$ciudad) Code: and I dont know how to add the variable $config per page in my above query I hope someone can help me please. Thanks in advance Active Records help - El Forum - 05-11-2011 [eluser]cideveloper[/eluser] you have to pass those values from the controller to the model Active Records help - El Forum - 05-11-2011 [eluser]Miguel Diaz[/eluser] Thanks for your reply can you put me an example how to pass it please Active Records help - El Forum - 05-12-2011 [eluser]InsiteFX[/eluser] What ever happened to normalizing a database? InsiteFX |