hi i want to delete line from my csv file after echo or process this line can any one help???????????? thanks in advance!!!!!
here is my code
$fp = fopen('surInput.csv','r') or die("can't open file");
while($csv_line = fgetcsv($fp,1024)) {
for ($col = 0, $j = count($csv_line); $col < $j; $col++) {
echo $csv_line[$col];
echo "<br>";
//now after show or processed i want to delete this line ($csv_line)
}
}
fclose($fp) or die("can't close file");