Zend - The PHP Company




Code Gallery: Erdal


complete Table class  

Type: class
Added by: Erdal
Entered: 30/04/2003
Last modified: 05/12/2002
Rating: - (fewer than 3 votes)
Views: 8225
complex Table class for gegeration of HTML Tables with most of Tag-features. Table can flexible resized ( add rows or columns ) during script, so that it is not possible to know how many lines you need in the Table ( e.g. select statement from database ). Values of the TD's can be assigned in every order you want. also overwriting of values is possible, because the HTML code is sent at the end of code and not everytime you change the table definitions. All tags are used ( e.g. rowspan, colspan, backgroundcolor .... ) at least for ns 4.78. Everything can be viewed in most Browsers ( tested i.e 4.0 and upper, NS 4.78 and upper, Opera ) Every row may be a header. maybe some small bugs, but is working in productive system.




Search