hello its me again...
i have a little problem with while loops so i would be very thankful if someone would help me. what i need is this:
i want to give to the user an option to select how much table to create on the page and every table must have 4 input tags with same name but different numbers. for example:
if user selects number 1 the output must be similar to this:
<table>
<h1>1. event:</h1><br>
some stuff: <INPUT NAME="first_input1" TYPE="text" SIZE="30"><br>
some stuff: <INPUT NAME="second_input1" TYPE="text" SIZE="30"><br>
some stuff: <INPUT NAME="third_input1" TYPE="text" SIZE="30"><br>
some stuff: <INPUT NAME="fourth_input1" TYPE="text" SIZE="30">
</table>
and if user selects number 2 the output must be like this:
<table>
<h1>1. event:</h1><br>
some stuff: <INPUT NAME="fisrt_input1" TYPE="text" SIZE="30"><br>
some stuff: <INPUT NAME="second_input1" TYPE="text" SIZE="30"><br>
some stuff: <INPUT NAME="third_input1" TYPE="text" SIZE="30"><br>
some stuff: <INPUT NAME="fourth_input1" TYPE="text" SIZE="30">
</table>
<br><br>
<table>
<h1>2. event:</h1><br>
some stuff: <INPUT NAME="first_input2" TYPE="text" SIZE="30"><br>
some stuff: <INPUT NAME="second_input2" TYPE="text" SIZE="30"><br>
some stuff: <INPUT NAME="third_input2" TYPE="text" SIZE="30"><br>
some stuff: <INPUT NAME="fourth_input2" TYPE="text" SIZE="30">
</table>
i know that this can be done with while loop very easy but im not very good with that (yeah, i really am lame newbie 🙂))) and it would take a whole night to code that so please someone help me!!!