<?php echo '<td>' . tpl_form_input($name, $field) . '</td>';
<?php echo '<tr><td>' . $field['fname'] . '</td><td>' . tpl_form_input($name, $field) . '</td></tr>';