RE: [PHP-WIN] please help with table again

From: Date: Sun, 24 Aug 2003 08:17:11 +0000
Subject: RE: [PHP-WIN] please help with table again
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-21223@lists.php.net to get a copy of this message
<? $max_cols = 5; $max_values = 15; echo "<table>"; $max_rows = floor(bcdiv($max_values,$max_cols,2)); $counter = 0; for($schleife=0; $schleife<$max_rows; $schleife++){ echo "<tr>"; for($schleife_cols=0; $schleife_cols<$max_cols; $schleife_cols++){ $counter++; echo "<td>".$counter."</td>"; } } ?> have fun -----Original Message----- From: Thomas Edward Lawrence [mailto:goodboy@fptnet.com] Sent: Saturday, August 23, 2003 9:57 PM To: php-windows@lists.php.net Subject: [PHP-WIN] please help with table again I want it echo 5 columns with 3 row , but it also echo numbers which increase to follow columns like this , how I must write , please show me again , thank you . 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.windows (#21223) next »