hi , I am using this code to demo my problem. here i not found my output right
$theme->html=" hi i am {name}.";
$name= "khajaamin";
$content = str_replace('{name}','<?php echo $name; ?>',$theme->html);
if i echo $content;
i want output like here "hi i am khajaamin."
as khajaamin is variable into that please help me to get it done.
thank you
Khajaamin