don't work input form in codeigniter 4 |
i have one form below:
Code: <form class="form-signin form-group" role="form" method="post" action=""> PHP Code: public function login() when i click button submit, it go to file logincontroller but input email, pass dont working and go to 404 page not found please, show me how to fix it
You need to fill in the form action to tell it where to go in the controller/method.
PHP Code: // controller/method = your controller and the method to run. What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
Not looked properly but forms need an action, unless you're passing that via ajax, and CRSF protection.
*Edit looks like we double posted.
Practical guide to IgnitedCMS - Book coming soon, www.ignitedcms.com
|
Welcome Guest, Not a member yet? Register Sign In |