Hi, what should "<?php $dat_name; ?>" in the coding below changed to to make it work? I want to use $dat1 to $dat10 in update_employee_changes.php
Thanks
Dawie
<html>
<body>
<form method=POST action="update_employee_changes.php">
<table align="center">
<tr>
<td>
<input type=submit value="Update">
</td>
</tr>
<?php
$count = 1;
while ($count <= 10)
{
$dat_name = ('dat'."$count");
?>
<tr>
<td>
<input type=text name="<?php $dat_name; ?>" value="justavalue" >
</td>
<?php
$count++;
}
?>
</table>
</form>
</body>
</html>