Welcome Guest, Not a member yet? Register   Sign In
Validating forms
#4

[eluser]CroNiX[/eluser]
They changed some things in CI and the global CI object isn't available to views. They probably did this because in MVC the Controller should be sending any data to the view and not the view directly accessing it on its own.

Just send the IP in a variable to the view just like with form_errors() or any other dynamic data you are sending to the view.


Messages In This Thread
Validating forms - by El Forum - 04-25-2012, 11:04 AM
Validating forms - by El Forum - 04-25-2012, 11:49 AM
Validating forms - by El Forum - 04-25-2012, 12:12 PM
Validating forms - by El Forum - 04-25-2012, 12:16 PM



Theme © iAndrew 2016 - Forum software by © MyBB