I'm not sure but I passed variables to templates:
$smarty->assign('name', $name);
Form is submitted
<form id="form1" action="myhandler.php" method="post">
<p>
<label class="myclasstext1" for="text1">Familiy name</label>
<input id="text1" name="{$name}" size="50" maxlength="60" class="required" />
</p>
<input type="submit" name="form1" value="Send" class="SEND" />
How to pass variables from name="{$name}" to my variables in PHP to be recognised?
Is this issue with my above code or is it missing some line in Smarty?
Handler PHP:
if (isset( $_POST['text1'])){ }