www.berativ.de/momo/table.php
in this table what i made is : that i designed a table in dreamweaver and then i filled it with 91 in first column and the (=) in second column and then result in third column from 91 to9*20
the question is : How to make such process using looping and without typing all results with hand
byebye moda
<table> <tr> <td>9 * Number</td> <td>=</td> <td>Result</td> </tr> <? for($i=0; $i < 21; $i++) { print " <tr>\n"; print " <td>$i * 9</td>\n"; print " <td>=</td>\n"; print " <td>".($i*9)."</td>\n"; print " </tr>\n"; } ?> </table>
first of all thanks alot for ur nice help, I tried ur code and it worked but it has not a shape of a table with columns and rows
how can I make the same code with rows and columns
i would be very thankful if u helped me
thanks 🙂