Welcome Guest, Not a member yet? Register   Sign In
problem with array
#6

[eluser]John_Betong[/eluser]
From memory and without checking:

If your $_POST array comes from a form and you are checking the fields then any empty field will not be shown. This is why you had your original error - which I tested with the isset(...) function.

Test this out for yourself before stepping through your foreach(#_POST as ...)
Code:
echo '<pre>';
    print_r($_POST);
echo '</pre>';
&nbsp;
&nbsp;
&nbsp;


Messages In This Thread
problem with array - by El Forum - 05-20-2010, 08:23 PM
problem with array - by El Forum - 05-20-2010, 09:12 PM
problem with array - by El Forum - 05-20-2010, 09:55 PM
problem with array - by El Forum - 05-20-2010, 10:04 PM
problem with array - by El Forum - 05-21-2010, 12:48 AM
problem with array - by El Forum - 05-21-2010, 01:28 AM



Theme © iAndrew 2016 - Forum software by © MyBB