![]() |
View data repeating when using dynamic dropdowns - 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: View data repeating when using dynamic dropdowns (/showthread.php?tid=7183) |
View data repeating when using dynamic dropdowns - El Forum - 03-28-2008 [eluser]Silvrbak[/eluser] I am trying to create a data add form with multiple dropdowns that get their options from a database. The dropdowns populate but only after errors are shown for the dropdowns. in essance the form is created twice, incorrect the first time then correct the second. I am using the same technique from this post to generate the dropdown data. How do I get the form to just show once? Here are the errors, Code: A PHP Error was encountered Code: A PHP Error was encountered View data repeating when using dynamic dropdowns - El Forum - 03-28-2008 [eluser]Silvrbak[/eluser] Figured it out. There was a duplicate load->view call. ![]() |