Yes.
$_POST[ID]
Since there are no quotes around the variable name ID and no dollar sign in
front of it, PHP will look for a constant named ID and if one is not found
it will blow chow.
$_POST['ID']
Should work find, assuming a variable named ID came from your form. However,
I wouldn't get
$_POST[ID]
Since there are no quotes around the variable name ID and no dollar sign
in
front of it, PHP will look for a constant named ID and if one is not found
it will blow chow.
Depending on your error_reporting() level whether this warning is reported
or not. Better to not use this
2 matches
Mail list logo