CodeIgniter Forums
SOLVED - POST returning bool False when value has been entered - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21)
+--- Thread: SOLVED - POST returning bool False when value has been entered (/showthread.php?tid=17849)



SOLVED - POST returning bool False when value has been entered - El Forum - 04-17-2009

[eluser]RJ[/eluser]
Hello,

This returns FALSE
Code:
$this->UNITID = $this->input->post('unitid');

When I am 100% there is a value; is there an error with input->post in CI?

And this returns NULL of course
Code:
$this->UNITID = $_POST['unitid'];

I do notice in the log Global POST and COOKIE data is sanitized with every request:
Quote:Global POST and COOKIE data sanitized

Is that normal?

Thanks