I want to use while loop in html. I have the following php code. But it does not work. How can i solve this problem? Please any one help me.
while($row = mysql_fetch_array($result))
{
echo "<tr>";
echo "<td>" . $row['ID'] . "</td>";
echo "<td>"; echo "<input name="txtf" type="text">"; echo "</td>";
echo "<td>" . <input name="txtf1" type="text" /> . "</td>";
echo "<td>" . <input name="txtf2" type="text" /> . "</td>";
echo "</tr>";
}