![]() |
dymaic drop down box from sql query - 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: dymaic drop down box from sql query (/showthread.php?tid=11799) |
dymaic drop down box from sql query - El Forum - 09-23-2008 [eluser]mmiranda[/eluser] Hello to all, where can i find a working example on how to create a dynamic drop down box from an sql query, i mean something like drop box 1: department: sales, support,noc, etc, this is in departments table drop box 2: employee: Depending on what the user selected on drop box 1 it is populated with the people's names who belong to each work group, this is is employees table with a foreign key to departments table. best regards |