Welcome Guest, Not a member yet? Register   Sign In
stupid input problem
#7

[eluser]xwero[/eluser]
[quote author="Pygon" date="1204670659"]Personally, I'm of the opinion that $this->input->post() should return TRUE if not empty, FALSE if empty(or not set), the VALUE when supplied a key, or FALSE if the key is not set.
[/quote]
I think that will be even more confusing for new comers. If there would be a check to confirm there are values in the $_POST global posted will be more intuitive
Code:
if($this->input->posted())
{
   echo $this->input->post('yes');
}


Messages In This Thread
stupid input problem - by El Forum - 03-04-2008, 07:41 AM
stupid input problem - by El Forum - 03-04-2008, 07:45 AM
stupid input problem - by El Forum - 03-04-2008, 07:52 AM
stupid input problem - by El Forum - 03-04-2008, 09:39 AM
stupid input problem - by El Forum - 03-04-2008, 10:17 AM
stupid input problem - by El Forum - 03-04-2008, 10:44 AM
stupid input problem - by El Forum - 03-04-2008, 11:18 AM
stupid input problem - by El Forum - 03-04-2008, 11:21 AM
stupid input problem - by El Forum - 03-04-2008, 12:25 PM
stupid input problem - by El Forum - 03-04-2008, 12:58 PM
stupid input problem - by El Forum - 03-04-2008, 01:05 PM
stupid input problem - by El Forum - 03-11-2008, 03:07 AM



Theme © iAndrew 2016 - Forum software by © MyBB