Hi, this is my first post here,
I would like to create x fields with name email age sex and the subscribe question, this is just an example page.
If i would select the number 5,4, or any number then i would like to see 5 fields with names and emails, etc.
What should I do ? It's a php matter ?
Thank you,
Szabi Zs.
<html>
<head>
<title>option</title>
</head>
<body>
<table>
<tr>
<td>
<form action="" method="get">
<p> How many people? </p>
<select name="select" class="form">
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
</select>
<br /><br />
name:<br /><input type="text" name="name" class="form"/>
<br />
email:<br /><input type="text" name="mail" class="form"/>
<br />
age:<br /><input type="text" name="age" class="form" maxlength="2" />
<br /><br />
<div>
Sex: M<input name="sex" type="radio" value="male"> F<input name="sex" type="radio" value="female" />
</div>
<br /><br />
<div>
<p class=" p2">Would you like to be informed all the time there is something new? By this we add you in our database: </p>
Yes<input name="inform" type="radio" value="yes"> No<input name="inform" type="radio" value="no" />
</div>
<br />
<div align="right">
<input type="submit" value="Subscribe »" onClick="return verify();" class="bt">
</div>
</form>
</td>
</tr>
</table>
</body>
</html>