CTable script download - CTable CTable helps aid in the generation of table output from a database recordset, or ot

CTable script Publisher Review:


CTable CTable helps aid in the generation of table output from a database recordset, or other form of data source.
CTable helps aid in the generation of table output from a database recordset, or other form of data source. To use this class, simply create an instance of it, like so: $table = new CTable();You will then need to assign the number of rows for the class, this is done using the Rows() method, like so: $table->Rows(5);You will also need to define the number of cells for the table, in much the same way you define the Rows, using the Cells() method, like this: $table->Cells(10);You can now set the data contained within the cells, like this: for($x=1;$xGetRows(); $x ) { for($y=1;$yGetCells(); $y ) { $table->SetData("x($x) y($y)", $x, $y); } }The above is a loop that fills each cell in the table with the row and cell number ... the output should look similiar to this: x(1) y(1) | x(1) y(2) | x(1) y(3) x(2) y(1) | x(2) y(2) | x(2) y(3) x(3) y(1) | x(3) y(2) | x(3) y(3)After you have placed data within the table, you must then Generate() it for it to be displayed on the screen. This is done with the Generate() method, like so: $table->Generate();You may additionally free up some memory, by calling the Release() method, like so: $table->Release();ADDITIONAL FEATURES:You may wish to alter the table's class, border, width, cellpadding, cellspacing, or possibly its style attribute. You can do this using either the setHeader() method, or by calling the setClass, setBorder, setWidth, setCellpadding or setCellspacing methods, similiar to this: $table = new CTable(); // setHeader must be called before any other Header methods // setHeader rewrites the current Header, this is why! $table->setHeader('style="border: thin solid red"'); $table->setCellspacing(5); $table->setCellpadding(0); $table->setBorder(1); $table->Rows(5); $table->Cells(2); $table->SetData("TEST", 1, 2); $table->Generate(); $table->Release(); unset($table);

CTable script details and screenshot


Screenshot:

Rating: 7 Votes:
Rating for CTable script: 7 from  votes
Rate this software:


Scan computer and update all your drivers before downloading.

Release date: 2009-08-01
Last update: 2009-08-01
Platform: Windows / Linux / BSD
Language: PHP
Price:Freeware $
Company: David Higgins
Info url: http://zoulcreations.com/




Download CTable script
RECOMMENDED TOOLS


Related tags:

Related downloads

xError script      
xError xError - Generic error reporting and handling class
Price: GPL$, Rating: 10, Downloads: 0
XMLnav script      
XMLnav XMLnav - Creates a menu bar from a definition in XML
Price: GPL$, Rating: 7, Downloads: 0
DCalendar fixed script      
DCalendar fixed DCalendar fixed - Show a calendar with options of events color
Price: GPL$, Rating: 10, Downloads: 0
rschat script      
rschat rschat can be used to manage multiple chat rooms.
Price: Free for non-commerc$, Rating: 6, Downloads: 0
Page Ripper script      
Page Ripper Page Ripper - Retrieve and alter remote Web pages
Price: BSD$, Rating: 8, Downloads: 0
UML 2 Classes script      
UML 2 Classes UML 2 Classes is an application that can be used to generate the code of cla
Price: GPL$, Rating: 6, Downloads: 0
SQL Time script      
SQL Time SQL Time is a simple class that converts date and time values between the ISO for
Price: GPL$, Rating: 8, Downloads: 0
GrCharts script      
GrCharts GrCharts - Generate share bar charts in HTML
Price: GPL$, Rating: 7, Downloads: 0