Posted By

iloveitaly on 07/09/09


Tagged

array String Value add values suffix


Versions (?)

Array Add Sufffix


 / Published in: PHP
 

  1. function array_add_value_suffix($array, $suffix) {
  2. foreach($array as $key => $value) {
  3. $array[$key] = $value.$suffix;
  4. }
  5.  
  6. return $array;
  7. }

Report this snippet  

You need to login to post a comment.