<?php $string = 'dear [code_user] your new order code is [code_order]'; $result = str_replace(['[code_user]','[code_order]'],['John','5504'], $string); echo $result; ?>
You have javascript disabled. You will not be able to edit any code.