Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
IF3110-2018-K03-Petjah
TugasBesar1_2018
Commits
2946fc9c
Commit
2946fc9c
authored
Oct 25, 2018
by
Ranindya Paramitha
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[FXING] remove comments in edit_profile
parent
c1c8564c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
web/edit_profile/edit_profile.php
web/edit_profile/edit_profile.php
+5
-5
No files found.
web/edit_profile/edit_profile.php
View file @
2946fc9c
...
...
@@ -22,11 +22,11 @@
}
// echo $update_name;
$update
=
setUserProfile
(
$user_id
,
$update_name
,
$update_address
,
$update_phone
,
$name
,
$tmp_name
);
if
(
$update
==
0
){
echo
"<script type='text/javascript'>alert 'Update Failed';</script>"
;
}
else
{
echo
"<script type='text/javascript'>alert 'Update Success';</script>"
;
}
//
if ($update == 0){
//
echo "<script type='text/javascript'>alert 'Update Failed';</script>";
//
} else{
//
echo "<script type='text/javascript'>alert 'Update Success';</script>";
//
}
header
(
'Location: ../profile'
);
exit
;
?>
\ No newline at end of file
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