/ Published in: PHP
change something in array recusively
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
function myFunc($item, $key) { if ($key == 'something') { $item = // do what you want with $item; return $item ; } }