Welcome Guest, Not a member yet? Register   Sign In
CI 3 - input class
#1

Hi,

Apologies if this is repeated. The documentation says the input class is

Quote:initialized automatically by the system so there is no need to do it manually.

But this code

Code:
$email = $this->input->post('email');

is generating this error

Quote:Fatal error: Call to undefined function post() in /home/ubuntu/workspace/application/controllers/admin/Homepage.php on line 46

What am I doing wrong ? Confused
Reply


Messages In This Thread
CI 3 - input class - by paulkd - 10-31-2015, 07:44 AM
RE: CI 3 - input class - by ivantcholakov - 10-31-2015, 01:00 PM
RE: CI 3 - input class - by ciadmin - 10-31-2015, 01:31 PM
RE: CI 3 - input class - by Narf - 10-31-2015, 05:09 PM
RE: CI 3 - input class - by paulkd - 11-01-2015, 03:57 AM
RE: CI 3 - input class - by ivantcholakov - 11-01-2015, 06:09 AM
RE: CI 3 - input class - by Narf - 11-01-2015, 07:38 AM



Theme © iAndrew 2016 - Forum software by © MyBB