/ Published in: PHP
Find the tags {} and replace them by the value of the key in a array.
Expand |
Embed | Plain Text
$str = "hola {all} todos {le} monde"; function replaceTag($str, $replace) { foreach($out[1] as $key => $value) { } } return $str; }
You need to login to post a comment.
