if ($cell == ""){ $out .= $this->empty_cells;}else{ $out .= $cell;}
If data from database is 0 ($cell = 0), then this expression
($cell == "")
= TRUE