Uhm... well... lets see... giggle
you have a ";" after your while statement.
Loops and IFs don't allways need the {} to define what should be done in the loop or the IF.
If you leave out the {}, then the statements upto the next ";" is executed.
so:
IF (1==1) echo "hi";
will print "hi" if 1==1.
and
while ($t<10) ;
will do nothing while $t<10
and because it does nothing, $t will never ever be >10.
You can prevent irritating errors like these by doing:
while ($t++<10)
this will check if $t<10 and then autiomatically increase $t by one.
Thus it will allways get over 10 at some point in time.
Oh, and notice my use of 10 instead of 11.
You start your count at zero.
Starting at zero, there are 11 numbers before you get to 11.
0,1,2,3,4,5,6,7,8,9,10. thats 11 numbers, so it will print 11 lines.