Input fields are coming up empty |
[eluser]jrock2004[/eluser]
I have been looking at this code too long and I am sure I am missing something. When I hit submit and I grab the input fields, they are empty. View Code: <div id="login_form"> Controller Code: public function index() { Thanks for any help
[eluser]InsiteFX[/eluser]
Your missing your form_close() Also see the Form_Validation Class Library... CodeIgniter Users Guide - Form Validation
[eluser]jrock2004[/eluser]
Added the following and still not working Code: <div id="login_form">
[eluser]Mauricio de Abreu Antunes[/eluser]
Please, print your array post with: Code: print_r($_POST);
[eluser]InsiteFX[/eluser]
You are re-loading the session and form_helper in your validate_credentials() method, no need to do this just autoload them in ./application/config/autoload.php
[eluser]jrock2004[/eluser]
I have pasted the code in my first post. What else are you looking for? Also, I should add that this code is running on my localhost via a wamp server. I am starting to see via google searches with people who are having similar issues
|
Welcome Guest, Not a member yet? Register Sign In |