a6aacdfc by Prashant Jadhav

relationship disposition conversion format

1 parent 5312c7ba
1 <?php
2 $row = 1;
3 if (($handle = fopen("prashant.csv", "r")) !== FALSE) {
4 while (($data = fgetcsv($handle, 1000, ",")) !== FALSE) {
5 $num = count($data);
6 //echo "<p> $num fields in line $row: <br /></p>\n";
7 $row++;
8 $dataa="";
9 for ($c=0; $c < $num; $c++) {
10 $dataa.= $data[$c] . " -- ";
11 }
12 echo "'".substr($dataa,0,-3)."',";
13 // echo "";
14 }
15 fclose($handle);
16 }
17 ?>
...\ No newline at end of file ...\ 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!