Here is a piece of my code
while ($data = fgetcsv ($fp, 1000)) {
$num = count ($data);
for ($c=0; $c < $num; $c++) {
$mult[$row][$c] = $data[$c].",";
//$mult[$row][$c] = $data[$c]
fwrite($fp1, $mult[$row][$c]);
}
$row ++;
}
I need to insert a blank line after each iteration of 'c' loop. ie., when the 1st iteration of the c loop exits, I need to insert a blank line and continue doin the same.
Any inputs?