I have following Template string in mysql which i fetch through php.
$msg = “Dear $contacts-salutation$ $contacts-firstname$ $contacts-lastname$,
Wish you a very Happy Birthday!! Best Regards, Team”;
I want to replace $contacts-__ $ with variable which is exist in other mysql table. but i can not replace it ?
How can i replace string in string?
try to use
${contacts}-dadasdsdasd