Getting the table columns of a result in DB_DataObject
| From: | pear at electroteque dot org | Date: | Fri, 22 Apr 2005 04:13:02 +0000 |
| Subject: | Getting the table columns of a result in DB_DataObject | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-18903@lists.php.net to get a copy of this message | ||
Ok sorry i must be annoying everyone with my questions, but I am giving
aswell as recieving :) Ok I have an issue I would like to create the
columns of the DataGrid which will be generating the Excel spreadsheet.
Currently I am hardcoding the Excelspreadsheet writer. So I would like to
create a standard class which extends DG, obtain the dynamic columns ,
maybe add extra columns or rows after the resultset ie for totals etc. Is
the only way by obtaining the databaseconnection and using its methods ?