CodeIgniter Forums
foreach not working for dropdown value - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forum-20.html)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forum-23.html)
+--- Thread: foreach not working for dropdown value (/thread-52452.html)



foreach not working for dropdown value - El Forum - 06-11-2012

[eluser]Unknown[/eluser]
anybody pls help about this error.i am using codeigniter framework...

A PHP Error was encountered
Severity: Warning
Message: Invalid argument supplied for foreach()
Filename: controllers/welcome.php
Line Number: 67 (foreach statement)

http://pastebin.com/BkLPkTi5

see the above link to view code