• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
the table library question

#1
[eluser]belbek[/eluser]
why this code from generate method of the Table library draws single <td></td> in a row although there is no </tr> in the foreach loop?

foreach($row as $cell)
{
$out .= $this->template['cell_'.$name.'start'];
$out.=$cell_number;

if ($cell === "")
{
$out .= $this->empty_cells;
}
else
{
$out .= $cell;
}

$out .= $this->template['cell_'.$name.'end'];
$cell_number++;

//exit($out);
}


Messages In This Thread
the table library question - by El Forum - 07-31-2008, 02:18 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.