Welcome Guest, Not a member yet? Register   Sign In
Exit on if-statement inside controller function?
#4

[eluser]jplanet[/eluser]
Exit would only be called in a switch case. I'm also wondering why the same view is loaded with every condition. Why not just load the view once after the conditions set the $data['error'] variable?


Messages In This Thread
Exit on if-statement inside controller function? - by El Forum - 03-05-2010, 07:29 PM
Exit on if-statement inside controller function? - by El Forum - 03-05-2010, 08:10 PM
Exit on if-statement inside controller function? - by El Forum - 03-05-2010, 08:44 PM
Exit on if-statement inside controller function? - by El Forum - 03-05-2010, 11:07 PM
Exit on if-statement inside controller function? - by El Forum - 03-06-2010, 03:38 AM



Theme © iAndrew 2016 - Forum software by © MyBB