Code, phpJanuary 23, 2008 3:31 pm
Table Generator from Pear DB
Here is a compact generic function by john.ellingsworth that generates a table from a PEAR DB result set. It even uses column names as HTML table column headings.
A hint: to better format a table when there is a null value in the resultset, add a ‘nbsp;’ character to a table cell before a field value.
The URI to TrackBack this entry is: http://jdev.blogsome.com/2008/01/23/table-generator-from-pear-db/trackback/
No comments yet.
RSS feed for comments on this post.
Line and paragraph breaks automatic, e-mail address never displayed, HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>