Menu
I am creating a form dynamicly and i have no idea how many elements i am going to have
all i know the are all called
Q1
Q2
Q3
Q4
and so on
and i was wondering how i can create a dyamic call to all those variables
When i an creating the form i have
[code=php]
<form id=”quiz” name=”quiz” method=”post” action=”quiz.php”>
<?php
$i=0;
while ($i <= 10):
?>
<input type=”text” name=”Q<?php echo($i)?>” id=”=”Q<?php echo($i)?>”>
<?php
$i++;
endwhile;
?>
<input type=”submit” name=”Submit” value=”Submit” />
Thanks for all the help