Tatt,
for ($i=1;$i<=$num;$i++){
echo "<form>";
echo "<label for=\"words$i\">Word $i</label><input type=\"text\" name=\"words[$i]\" id=\"words$i\" />";
}
echo "</form>";
<form> is inside loop and </form> is outside. This will mess things up bigtime.
Either both inside or both outside depending on what you want. As it stands the code will generate lots of unclosed forms.Airshow
Airshow
WiFi Lounge Lizard
2,683 posts since Apr 2009
Reputation Points: 321
Solved Threads: 372