CodeIgniter Forums
Loading View with Posting Data - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Development (https://forum.codeigniter.com/forumdisplay.php?fid=6)
+--- Forum: CodeIgniter 2.x (https://forum.codeigniter.com/forumdisplay.php?fid=18)
+--- Thread: Loading View with Posting Data (/showthread.php?tid=64489)

Pages: 1 2


RE: Loading View with Posting Data - Wouter60 - 03-06-2016

Put the URL in the Action= attribute, like this:
PHP Code:
<form action="home/edit" method="post" id="date_picker_form"

Or, by using the form helper:
PHP Code:
echo form_open("home/edit",array('id'=>'date_picker_form')); 



RE: Loading View with Posting Data - acheng16 - 03-06-2016

(03-06-2016, 04:49 AM)Wouter60 Wrote: Put the URL in the Action= attribute, like this:
PHP Code:
<form action="home/edit" method="post" id="date_picker_form"

Or, by using the form helper:
PHP Code:
echo form_open("home/edit",array('id'=>'date_picker_form')); 
Thank you Wouter that worked for me. Much appreciated!


RE: Loading View with Posting Data - Wouter60 - 03-07-2016

You're welcome!