PHP Classes

File: showDataTable.php

Recommend this page to a friend!
  Classes of Aneesh R   CSV Parse and Read   showDataTable.php   Download  
File: showDataTable.php
Role: Auxiliary script
Content type: text/plain
Description: This will show the formatted output
Class: CSV Parse and Read
Parse and display data from a CSV file
Author: By
Last change:
Date: 16 years ago
Size: 485 bytes


Class file image Download
<TABLE style="font-family:Verdana, Arial, Helvetica, sans-serif; font-size:9px" width="100%" border="0"><?php
for($i=0; $i<sizeof($Data);$i++){
$RowIndex = 1;
$Css = $RowIndex%2 == 0 ? 'row1' : 'row2';
<TR class="<?php echo $Css;?>"><?php
foreach ( $Data[$i] as $Dat) {?>
<TD>&nbsp;<?php echo $Dat;?></TD>
        <?php } ?>