<?php $fp=fopen($FileName, 'r'); while ($data=fgetcsv($fp, 1000, "," )) { if ($data[1] != "") echo $data[0]." : ".$data[1]."<br />"; } fclose($fp); ?>