ADOdb: Recordset to HTMLTag: adodb, database, database layer, grid Category: PHP Databasepost: 30 Oct 2007 read: 1,496 This is nice feature. It will help us printing recordset as HTML table by easy way. (next sentences from manual) This is a standalone function (rs2html = recordset to html) that is similar to PHP's odbc_result_all function, it prints a ADORecordSet, $adorecordset as a HTML table. $tableheader_attributes allow you to control the table cellpadding, cellspacing and border attributes. Lastly you can replace the database column names with your own column titles with the array $col_titles. This is designed more as a quick debugging mechanism, not a production table recordset viewer. You will need to include the file tohtml.inc.php. Example:
|
| | Give Your Opinion | Recommend |
|

