I am using the smarty templating system for php. I have the following within a .tpl file:
<a href=\"{/literal}/view/{$tablename}/
where $tablename is a php variable defined in the php file that calls the .tpl
$tablename = 'string';
However running the script only
href="/view//"
is visible. What am I doing wrong?