Form Submitting Problem - 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: Form Submitting Problem (/showthread.php?tid=41129) |
Form Submitting Problem - El Forum - 04-28-2011 [eluser]Isuru[/eluser] I created this form. Code: <!-- Search --> And this is the model Code: function search($term){ And this is the controller. Code: function search(){ But I can't get it to work. I added 'form' helper to autoload.php I am new to CI. So please help me. Form Submitting Problem - El Forum - 04-29-2011 [eluser]InsiteFX[/eluser] Code: echo form_open("welcome/search"); InsiteFX Form Submitting Problem - El Forum - 05-01-2011 [eluser]Isuru[/eluser] [quote author="InsiteFX" date="1304075079"] Code: echo form_open("welcome/search"); InsiteFX[/quote] I kindly thank you, but can you be more specific. Where do I put that? Form Submitting Problem - El Forum - 05-01-2011 [eluser]augustowloch[/eluser] insitefx meant: your Code: form_open btw, on the controller you're reading the post value with $this->input->pos('term'), maybe a typo, but it should read $this->input->post('term') (is a posT ,not a pos) |