form post not working - 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: form post not working (/showthread.php?tid=33644) |
form post not working - El Forum - 09-03-2010 [eluser]brian-[/eluser] Here is the form Code: <html> And here is the page once you hit submit Code: <h1>$this->input->post()</h1><pre></pre><h1>$_POST</h1><pre>Array form post not working - El Forum - 09-03-2010 [eluser]mi6crazyheart[/eluser] Hey brian-, Set u'r base_url properly (available in config.php) & then execute once again... form post not working - El Forum - 09-03-2010 [eluser]basty_dread[/eluser] this is what i do on the view Code: <form action="yourcontroller" method="post"> form post not working - El Forum - 09-03-2010 [eluser]brian-[/eluser] sorry to confuse you, but I just put example.com so my url wouldn't show. form post not working - El Forum - 09-03-2010 [eluser]basty_dread[/eluser] can you try this? Code: function adding_review(){ form post not working - El Forum - 09-03-2010 [eluser]brian-[/eluser] I got the following error messages. Please view the screen shot. form post not working - El Forum - 09-03-2010 [eluser]basty_dread[/eluser] i dont know if this is connected did load the form helper? Code: this->load->helper('form'); you might be missing up something.. form post not working - El Forum - 09-03-2010 [eluser]brian-[/eluser] This is what I have in the function Order() $this->load->helper('form'); form post not working - El Forum - 09-03-2010 [eluser]mi6crazyheart[/eluser] ok , try this controller... Code: class Order extends Controller { form post not working - El Forum - 09-03-2010 [eluser]brian-[/eluser] Fatal error: Call to undefined function form_open() Is the message that gets displayed. I did type the information in correctly. |