Mega Code Archive
Categories
/
Php
/
Statement
Printing a select menu with while()
$i = 1; print '
'; while ($i <= 10) { print "
$i
\n"; $i++; } print '
'; ?>