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

[PHP] Re: SQL result

2006-04-20 Thread M. Sokolewicz
Mohsen Pahlevanzadeh wrote: Dear all, I remember that i use a func that it return an array what it consist of result of my sql query. Please name me that. Yours,Mohsen it's called "RTFM" glad to be of help, - tul -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http: