Commit 2946fc9c authored by Ranindya Paramitha's avatar Ranindya Paramitha

[FXING] remove comments in edit_profile

parent c1c8564c
...@@ -22,11 +22,11 @@ ...@@ -22,11 +22,11 @@
} }
// echo $update_name; // echo $update_name;
$update = setUserProfile($user_id, $update_name, $update_address, $update_phone, $name, $tmp_name); $update = setUserProfile($user_id, $update_name, $update_address, $update_phone, $name, $tmp_name);
if ($update == 0){ // if ($update == 0){
echo "<script type='text/javascript'>alert 'Update Failed';</script>"; // echo "<script type='text/javascript'>alert 'Update Failed';</script>";
} else{ // } else{
echo "<script type='text/javascript'>alert 'Update Success';</script>"; // echo "<script type='text/javascript'>alert 'Update Success';</script>";
} // }
header('Location: ../profile'); header('Location: ../profile');
exit; exit;
?> ?>
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment