Thanks all
| From: | Thomas Edward Lawrence | Date: | Sun, 24 Aug 2003 01:03:49 +0000 |
| Subject: | Thanks all | ||
| References: | 1 2 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-21221@lists.php.net to get a copy of this message | ||
so good , thank you , thanks so muck
...........................
"H Marc Bower" <hmbower@cogeco.ca> wrote in message
news:005201c36993$9195f9e0$0a01a8c0@Zabadoo...
> Give this a go:
>
> <?php
> $row = 0;
> $col = 0;
> echo "<TABLE border=1>";
> while($row < 3)
> {
> $row++;
> echo "<TR>";
> while($col < 5)
> {
> $col++;
> echo "<TD>Row ".$row." Column ".$col."</TD>";
> }
> $col = 0;
> echo "</TR>";
> }
> echo "</TABLE>";
> ?>
>
> Hope that helps,
>
> Marc
>
> ----- Original Message -----
> From: "Thomas Edward Lawrence" <goodboy@fptnet.com>
> To: <php-windows@lists.php.net>
> Sent: Saturday, August 23, 2003 12:13 PM
> Subject: [PHP-WIN] please help with table
>
>
> > When I write this , it will echo 1 column with 5 rows , but I want it
echo
> 5
> > columns with 3 row , there are 5 colums(td) in every row(tr) , how I
must
> > write ,
> > please show me , thank you .
> >
> > <table border="1" width="100%">
> > <?
> > $i = 0 ;
> > while ($i < 5)
> > {
> > $i++ ;
> > echo "<tr><td>$i</td></tr>" ;
> > }
> > ?>
> > </table>
> >
> >
> >
> >
> > --
> > PHP Windows Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
>
>