CI form help - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21) +--- Thread: CI form help (/showthread.php?tid=31414) |
CI form help - El Forum - 06-17-2010 [eluser]UdayD[/eluser] I just read that to write a form input i have to write as below: Code: $data = array( how will i do that do i need to make ten different arrays and the pass them to echo form_input($array1);... how will i do this?? is their a simpler way? Thanks in advance CI form help - El Forum - 06-17-2010 [eluser]UdayD[/eluser] i got it how can i do that Code: $options=array( CI form help - El Forum - 06-18-2010 [eluser]Ivar89[/eluser] Make an array and name is tomsething then in there you sart an array with arrays Code: $config = array('contact' => array(array('field' => 'fieldname', CI form help - El Forum - 06-18-2010 [eluser]Ivar89[/eluser] simpler way? Code: <label id="input"> CI form help - El Forum - 06-18-2010 [eluser]UdayD[/eluser] means use direct form elements.not to use CI form helper??? CI form help - El Forum - 06-18-2010 [eluser]Ivar89[/eluser] yhea, I mean its easier it doesn't say you HAVE to use the helper... |