I have text this stored in my database:
Your email is: {$email} and your name is {$name}.
$text = get from db this field;
I read this field from the database
I assign with smarty this:
$smarty->assign('text', $text);
$smarty->assign($name, 'maria');
$smarty->assign($email, '[email protected]');
and visualize in my html page with this:
{$text}
Result is:
Your email is: {$email} and your name is {$name}.
My problem is Smarty not renders a variable inside a variable.
can someone help me?