Welcome Guest, Not a member yet? Register   Sign In
$this->input->post() always returning FALSE
#9

[eluser]osci[/eluser]
as of user guide $this->input->post() returns all POST items or false if $_POST is not set.
I guess it would be ok to use it like this (although i don't see the reason returning a whole array to check if a form is submitted)

@Kriem
You might be having other issues.

Nevertheless I too suggest to use ie the name of your submit button to check if a form is posted like this
Code:
$this->input->post('submit')

and when you post code pls post in code tags
Code:
[ code ][/ code ]
without the spaces


Messages In This Thread
$this->input->post() always returning FALSE - by El Forum - 05-15-2011, 03:38 AM
$this->input->post() always returning FALSE - by El Forum - 05-15-2011, 03:40 AM
$this->input->post() always returning FALSE - by El Forum - 05-15-2011, 03:41 AM
$this->input->post() always returning FALSE - by El Forum - 05-15-2011, 03:45 AM
$this->input->post() always returning FALSE - by El Forum - 05-15-2011, 03:47 AM
$this->input->post() always returning FALSE - by El Forum - 05-15-2011, 03:53 AM
$this->input->post() always returning FALSE - by El Forum - 05-15-2011, 03:57 AM
$this->input->post() always returning FALSE - by El Forum - 05-15-2011, 04:00 AM
$this->input->post() always returning FALSE - by El Forum - 05-15-2011, 04:21 AM
$this->input->post() always returning FALSE - by El Forum - 05-15-2011, 04:21 AM
$this->input->post() always returning FALSE - by El Forum - 05-15-2011, 04:25 AM



Theme © iAndrew 2016 - Forum software by © MyBB