how can I add information to all array items ie:
I think that could be done much easier??? all ideas are welcome (maybe example??)
I made the array with the str_split() function.
thanks in advance
| Quote: |
| <?php
$add = 'test'; $item[0] = $item[0] . $add; $item[1] = $item[1] . $add; $item[2] = $item[2] . $add; ?> |
I think that could be done much easier??? all ideas are welcome (maybe example??)
I made the array with the str_split() function.
thanks in advance
