[eluser]warpspasm[/eluser]
[quote author="jairoh_" date="1371336633"]
Code:
if ( $this->input->post(‘some_data’) == false ) or if ( $this->input->post(‘some_data’) == 0 ) or if ( !$this->input->post(‘some_data’) )
[/quote]
The problem with this code is that if:
$this->input->post('some_data') == 0;
or
$this->input->post('some_data') doesn't exist;
You still get false back from the function. I'm looking for a way to be sure that $this->input->post('some_data') is set AND and that it is set to 0.
Does that make sense?