Hi Ben,
Sorry, it does work - so I can safely say you can concat the name of a
associ array :-)
Thanks,
Jon
jon bennett | [EMAIL PROTECTED]
new media creative
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
J b e n . n e t
91 Gloucester Rd, Trowbridge, Wilts, BA14 0
I don't think you can do any evaluation within the brackets. Thus, you
couldn't use the concatenating dot.
Nevermind... I am wrong on this. But, I also completely missed that the
code you have posted doesn't set $iListItems as Richard suggested. So,
go with his suggestion. :)
-Ben
--
PHP Ge
Try using $_POST["listItem$i"] instead of $_POST["listItem" . $i]
or do something like this:
$post_var_name = 'listItem' . $i;
this do $_POST[$post_var_name];
I don't think you can do any evaluation within the brackets. Thus, you
couldn't use the concatenating dot.
-Ben
--
PHP General Mailing
3 matches
Mail list logo