Welcome Guest, Not a member yet? Register   Sign In
$this->input->post() and 0 values
#4

[eluser]Whiplash[/eluser]
You should be able to use:

Code:
if( $this->input->post('textbox') != NULL)
{
// do something
}

That will return TRUE for any value and FALSE for an empty string or no POST.

Dana


Messages In This Thread
$this->input->post() and 0 values - by El Forum - 12-16-2009, 03:34 PM
$this->input->post() and 0 values - by El Forum - 12-16-2009, 03:42 PM
$this->input->post() and 0 values - by El Forum - 12-16-2009, 03:43 PM
$this->input->post() and 0 values - by El Forum - 12-16-2009, 11:11 PM
$this->input->post() and 0 values - by El Forum - 12-17-2009, 01:57 AM
$this->input->post() and 0 values - by El Forum - 12-17-2009, 08:37 AM
$this->input->post() and 0 values - by El Forum - 12-17-2009, 01:06 PM
$this->input->post() and 0 values - by El Forum - 12-17-2009, 11:28 PM



Theme © iAndrew 2016 - Forum software by © MyBB