Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
I
IPok_Web
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
IPok
IPok_Web
Commits
35bf4aed
Commit
35bf4aed
authored
7 years ago
by
Jansa Jose
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
drr prof
parent
65e53915
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
7 deletions
+8
-7
Webservice.php
admin/application/controllers/Webservice.php
+8
-7
No files found.
admin/application/controllers/Webservice.php
View file @
35bf4aed
...
...
@@ -972,11 +972,13 @@ class Webservice extends CI_Controller {
$new
=
array
();
}
/* foreach (explode(',',$result['data']['photos']) as $key => $value) {
$dd_pic = $value;
array_push($value_photos, $dd_pic);
}*/
//print_r($result['data']['photos']);
if
(
$result
[
'data'
][
'photos'
]
!=
''
){
foreach
(
explode
(
','
,
$result
[
'data'
][
'photos'
])
as
$key
=>
$value
)
{
array_push
(
$value_photos
,
$value
);
}
}
else
{
$value_photos
=
[];
}
$res
=
array
(
"status"
=>
"success"
,
"data"
=>
array
(
...
...
@@ -995,8 +997,7 @@ class Webservice extends CI_Controller {
"phone"
=>
$new
,
"specialization"
=>
explode
(
','
,
$result
[
'data'
][
'sub_name'
]),
//"photos" =>$value_photos
"photos"
=>
$result
[
'data'
][
'photos'
]
!=
''
?
explode
(
','
,
$result
[
'data'
][
'photos'
])
:
[];
"photos"
=>
$value_photos
)
);
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment