Re: [PHP] Re: SQL Result Set -> HTML Table Fragment (but Simple)

2006-07-24 Thread Larry Garfield
On Monday 24 July 2006 18:50, Adam Zey wrote: > Writing code in a mail window, so forgive any errors or ugly code. This > will print a table with the first row as headers of the field names, and > each row after that is a database row. I hope. > > $firstrow = true; > echo ""; > while ( $row = my

[PHP] Re: SQL Result Set -> HTML Table Fragment (but Simple)

2006-07-24 Thread Adam Zey
Adam Zey wrote: Michael B Allen wrote: Anyone have a PHP fragment that just prints a very simple html table from the contents of a db result set? I don't want phpmyadmin or anything remotely that complex. I want something that simply extracts the header info and prints a basic HTML table. It sho

[PHP] Re: SQL Result Set -> HTML Table Fragment (but Simple)

2006-07-24 Thread Adam Zey
Michael B Allen wrote: Anyone have a PHP fragment that just prints a very simple html table from the contents of a db result set? I don't want phpmyadmin or anything remotely that complex. I want something that simply extracts the header info and prints a basic HTML table. It should be about 10 l