Welcome to Abdul Malik Ikhsan's Blog

Looping (PHP)

Posted in Tutorial PHP by samsonasik on April 4, 2007

<?
$h=int;
$i=int;

for ($i=1;$i<=10;$i++){
$h=1*$i;
?>
<table border=0>
<tr>
<td>1</td>
<td>x</td>
<td><? echo $i; ?></td>
<td>=</td>
<td><? echo $h; ?></td>
</tr>
<? } ?>
</table>

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: