[php] 1

Viewer

  1. <?php
  2.  
  3. include "config.php";
  4.  
  5. if(isset($_POST["ubah"])) {
  6.     
  7.     if(ubah($_POST) > 0) {
  8.         echo "
  9.             <script>
  10.                 alert('data berhasil diubah!');
  11.                 document.location.href = 'index.php';
  12.             </script>
  13.         ";
  14.     } else {
  15.         echo "
  16.             <script>
  17.                 alert('data gagal diubah!');
  18.                 document.location.href = 'index.php';
  19.             </script>
  20.         ";
  21.     }
  22. }
  23. ?>

Editor

You can edit this paste and save as new:


File Description
  • 1
  • Paste Code
  • 30 Apr-2024
  • 474 Bytes
You can Share it: