![]() |
how to post a form to the controller - 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: how to post a form to the controller (/showthread.php?tid=44853) |
how to post a form to the controller - El Forum - 08-29-2011 [eluser]Unknown[/eluser] Hi Team, I have created a controller Code: <?php Now in the login.php file i need to action to checklogin Code: <form action="what do i put here" method='POST'> I do not get what do I put in the action tag to submit to the checklogin function of the conference controller. I tried using the following in routes.php $route['conference/checklogin'] = "conference/checklogin"; but it does not work. Can I do it using codeigniter or do I need to write my .htaccess file and do a url redirection. Regards, Anubhav Jha |