ajax and database access - 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: ajax and database access (/showthread.php?tid=2853) |
ajax and database access - El Forum - 08-28-2007 [eluser]GSV[/eluser] I have used aculo (ajax) script and it call http://127.0.0.1/rmb/db.php php script not connected at all to project, just alone script. I need use CodeIgniter database layer into this script. How to initialize database class? Thanks for answers and advice. Code: <select onchange="setSelected()" id="select_state" name="select_state" title="Select state" class="srchselect"> ajax and database access - El Forum - 08-28-2007 [eluser]xenon-dev[/eluser] I think it would be easier if you would put what ever things you need into another controller or function, and call that instead of an external file. Just a suggestion. |