Confusion with exact syntax of $_POST variable names
Posted: Thu Sep 20, 2007 6:10 am
I'm building a form containing input types like
and expecting to be able to address the results once the form is processed as a PHP variable called
$_POST[34][high]
but I'm getting the error
Have I got something wrong with the variable name, or is the error elsewhere?
Thanks!
Code: Select all
<input type="text" size="4" maxlength="13" name="34[high]">$_POST[34][high]
but I'm getting the error
Code: Select all
Undefined variable: $_POST[34][high]Thanks!