ok - this is a simple one;
$fl=0; while loop{ ... $fl++; }
for($num=5;$num<=15;$num++){
i need to replace the 15 with the variable $fl, but i can't get it to recognise its a number?!?! how can i turn $fl into a usable number?
many thanks! D.
for($num = 5; $num <= $fl; $num++)
That should work fine, assuming $fl is >= 5. If you're not getting anything form that loop, then I'd suggest you do some debugging by echoing out the value of $fl just before you start this loop, to see if it really is set to what you think it should be.