Bill wrote:
How do I know it won't just assume that $_POST["detail"][11][116] means the
116th character in the string $_POST["detail"][11]?
Because $_POST['detail'][11] is an array (or it should be). If you're in
doubt, make sure it is with is_array().
--
---John Holmes...
Amazon Wishlist: www.a
How do I know it won't just assume that $_POST["detail"][11][116] means the
116th character in the string $_POST["detail"][11]?
"Larry E . Ullman" wrote:
> > if ($_POST["detail"][11][116] && !$_POST["detailtext"][19][114]) {
> >
> > How can I encapsulate the array so it is a multi-dimensional ar
if ($_POST["detail"][11][116] && !$_POST["detailtext"][19][114]) {
How can I encapsulate the array so it is a multi-dimensional array and
not just
a string length?
I'm not exactly sure what you're array structure is but that syntax is
correct.
$_POST['key1']['key2']...
Larry
--
PHP General Mai
3 matches
Mail list logo