Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #Create the table
- function BasicTable($header,$data) {
- #Create the header.
- foreach ($header as $col)
- $this->Cell(18,5,$col,1);
- $this->Ln();
- #Get the data
- foreach ($data as $row) {
- foreach ($row as $col)
- #$this->Cell(18,5,$col,1,'R');
- $this->Cell(18,5, $col, 1, 0);
- $this->Ln();
- }
- }
- }
Add Comment
Please, Sign In to add comment