Hi All
Im trying to get a smarty variable passed back to a php variable so to perfom a short snippet of code with the result passed back to smarty
{php}
$php_var = {$smarty_var};
echo $php_var; // i would run a small snippet at this point
$smarty->assign('new_smarty_var', $php_var); // assigns the php var back to smarty
{/php}
{$new_smarty_var} // Displays the new var
the above doesnt work, but its a sample of what im trying to acheive.
Thanks everyone for any help