|
Posted by Peter Fox on 09/19/06 18:27
Following on from James McIninch's message. . .
>Certainly.
>
><?php for ($i=0; $i<100; ++$i) { ?>
>value of $i is <i><?=$i?></i>.
><?php } ?>
or
<?php
for ($i=0; $i<100; ++$i) {
print("<td><font color=red>$i</font></td>\n");
}
?>
<?php
for ($i=0; $i<100; ++$i) {
$s = vsprintf('%3d </font> %4.2f",array($i,$i/7));
print("<td><font color=red>$s</td>\n");
}
?>
--
PETER FOX Not the same since the submarine business went under
peterfox@eminent.demon.co.uk.not.this.bit.no.html
2 Tees Close, Witham, Essex.
Gravity beer in Essex <http://www.eminent.demon.co.uk>
Navigation:
[Reply to this message]
|