Welcome Guest, Not a member yet? Register   Sign In
Conversion of my $_POST to CI and isset problem
#5

[eluser]steelaz[/eluser]
Your isset() function is working fine. When you submit empty text field, it's still going to be included in $_POST array, so isset() will return true. If you want to check if something was entered in your text field, you can use empty() function, i.e.:

Code:
if (!empty($_POST['cr_fullname'][$i])) {  };


Messages In This Thread
Conversion of my $_POST to CI and isset problem - by El Forum - 03-07-2011, 12:24 AM
Conversion of my $_POST to CI and isset problem - by El Forum - 03-07-2011, 04:36 AM
Conversion of my $_POST to CI and isset problem - by El Forum - 03-07-2011, 05:25 AM
Conversion of my $_POST to CI and isset problem - by El Forum - 03-07-2011, 05:31 AM
Conversion of my $_POST to CI and isset problem - by El Forum - 03-07-2011, 05:35 AM
Conversion of my $_POST to CI and isset problem - by El Forum - 03-07-2011, 10:08 PM
Conversion of my $_POST to CI and isset problem - by El Forum - 03-08-2011, 02:36 AM
Conversion of my $_POST to CI and isset problem - by El Forum - 03-08-2011, 05:14 AM



Theme © iAndrew 2016 - Forum software by © MyBB