Suppose I have an array:
@blah
@blah holds some values like the array it is.
$blah[0] holds "10".
How would I go about adding a string to $blah[0] so that it concatenates to:
"10.0.0.0"?
I've tried funky constructs like:
$blah[0] += ".0.0.0";
Or changed the += to . , but to no avail, since it is not a numeric.
Must be simple, I'm sure. :)
Thanks
--Jeroen/Asmodai
In reply to How to add content to an array element? by asmodai
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |