I'm loading information from a database to a textboxs the problem is I'm loading them with
the same "name" and when I try to post the form I only get the last text that was entered in
the textbox not all the text from the other textboxs.
Code:
print "<form name=\"submitColumn\" action=\"default.php\" method=\"POST\">";
print "<tr>";
print "<td width=150 height=\"*\"><font size=\"5\">Columns:</font></td></tr><tr>";
while($clmn= pg_fetch_array($column)){
print " <td width=150 height=\"*\"><b>".$clmn['column_name']."</td>"."\r\n";
print " <td width=200 height=\"*\">: <input type=\"text\" name=\"".$clmn['column_name']."\" value=\"\"></td></tr>";
print " <td width=200 height=\"*\"><input type=\"text\" name=\"ct\" value=\"".$clmn['column_name']."\"></td></tr>";
}
print "<tr><td align=\"center\">*All column fields should be filled in.</td></tr>";
print "<tr>";
print " <td width=50 align=\"center\"> </td>"."\r\n";
print " <td><input type=\"submit\" name=\"submit\" value=\"Submit\"></td>";
print "</tr>";
print "</form>";


