<?php
$i = 0;
while($i<=10 ){
echo '<label for=""></label><select name="comp'. $i++ .'></select><br>';
}
?>
I'm using this code for adding 10 select boxes on the html page, but instead only 5 select boxes are appearing, don't know why??
Is there any explanation, or my php is just drunk.....