I have gotten to the point where i get data from mysql database, but when i try to put it in a form it does not work saying parse error expected T_VARIABLE, T_STRING.
here is the code:
echo "<form action='test2.php' method='post'>";
while ($row = mysql_fetch_array($result))
{
echo "<input type=\"text\" Value=\"$row["field2"]\" >";
}
echo "</form>";
what are i missing from it, to get default values in the form.
here is the code:
echo "<form action='test2.php' method='post'>";
while ($row = mysql_fetch_array($result))
{
echo "<input type=\"text\" Value=\"$row["field2"]\" >";
}
echo "</form>";
what are i missing from it, to get default values in the form.