[phplib] Table widget hides columns with null first row value From: Chris Stankevitz (chris <email protected>)
Date: 07/16/00

I just found out about PHPLib yesterday and recently started using PHP.
Wow, some really cool stuff here!

Anyways, I jumped right into the table widget, with the following super
simple code:

<?php
        require("table.inc");

        $q = new DB_Lobo;
        $t = new Table;

        $q->query("SELECT * FROM lobo;");
        $t->show_result($q);
?>

This query (mysql) returns about 100 rows, with columns like first_name,
homepage_url, primary_email, etc. Only those columns whose values are not
null in the first row appear! (Verified with different queries.) My mysql
client shows all the columns, so I assume PHPLib is getting them.

I followed the source for a while and found nothing that excluded null rows
(looks like everything comes from  <email protected> anyway, which according
to my wrox book doesn't discriminate against null values). This happens
whether or not I include table headings.

I've never done the mailing list thing before (I'm a usenet guy), so forgive
me if this seems out of place. I tried the mailing list archive, but
apparently the search functionality was removed

Oh, I've got a small list of typos/grammar stuff in the documentation, if
anybody out there cares :)

Thanks,

Chris

---------------------------------------------------------------------
To unsubscribe, e-mail: phplib-unsubscribe <email protected>
For additional commands, e-mail: phplib-help <email protected>