Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
flexydial
/
hdfc
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
a6aacdfc
authored
2018-10-24 15:21:06 +0530
by
Prashant Jadhav
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
relationship disposition conversion format
1 parent
5312c7ba
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
0 deletions
application/public/relationship.php
application/public/relationship.php
0 → 100644
View file @
a6aacdf
<?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
Write
Preview
Styling with
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment