Re: $_POST array question
Álvaro G. Vicario wrote:
> More or less, that's how it's always worked. Browsers sends all form fields
> except:
>
> - Fields with "disabled" attribute
> - Unchecked checkboxes
I could have sworn I didn't get empty fields before.
> For God's sake, *never* trust external data!
I don't. I didn't want to perform an array_key_exists( 'fieldname',
$_POST ) before I test what value they contain.
|