• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Form_validation isn't using rules from config file (CI2)

#4
[eluser]Cristian Gilè[/eluser]
Quote: } else {
redirect('people'); // test to see if it's passing validation
}

Do you want to redirect in the admin area or outside? It should be:

Code:
} else {
        redirect('admin/people'); // test to see if it's passing validation
    }

to redirect in the admin area.


Cristian Gilè


Messages In This Thread
Form_validation isn't using rules from config file (CI2) - by El Forum - 01-17-2011, 03:07 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2019 MyBB Group.