a6aacdfc by Prashant Jadhav

relationship disposition conversion format

1 parent 5312c7ba
<?php
$row = 1;
if (($handle = fopen("prashant.csv", "r")) !== FALSE) {
while (($data = fgetcsv($handle, 1000, ",")) !== FALSE) {
$num = count($data);
//echo "<p> $num fields in line $row: <br /></p>\n";
$row++;
$dataa="";
for ($c=0; $c < $num; $c++) {
$dataa.= $data[$c] . " -- ";
}
echo "'".substr($dataa,0,-3)."',";
// echo "";
}
fclose($handle);
}
?>
\ No newline at end of file
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!