Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Tenzing
/
Tz Tools
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
b91a8ab1
authored
2017-02-15 10:37:29 -0500
by
Jeff Balicki
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
commit
1 parent
95a05800
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
com/MySQLTable/MySQLTable.php
com/MySQLTable/MySQLTable.php
View file @
b91a8ab
...
...
@@ -102,12 +102,12 @@ function CSVExport($arr) {
$out
.=
"
\n
"
;
while
(
$curr_row
=
current
(
$arr
))
{
$col
=
1
;
while
(
false
!==
(
$curr_field
=
current
(
$curr_row
))
)
{
foreach
(
$curr_row
as
$curr_field
)
{
if
(
$col
>
1
)
{
$out
.=
","
;
}
$out
.=
'"'
.
str_replace
(
'"'
,
'\"'
,
$curr_field
)
.
'"'
;
next
(
$curr_row
);
$col
++
;
}
while
(
$col
<=
$num
)
{
...
...
Please
register
or
sign in
to post a comment