Advertisement
mrs_cl4y

Update

May 26th, 2015
262
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. <?php
  2.  
  3. include "koneksi.php";
  4.  
  5. $absen=$_POST['absen'];
  6.  
  7. $tugas1=$_POST['tugas1'];
  8.  
  9. $tugas2=$_POST['tugas2'];
  10.  
  11. $tugas3=$_POST['tugas3'];
  12.  
  13. $nilai_ujian=$_POST['nilai_ujian'];
  14.  
  15. $sql="UPDATE mhsnilai SET absen='absen',tugas1='tugas1', tugas2='tugas2', tugas3='tugas3', nilai_ujian='nilai_ujian'";
  16.  
  17. //$result=mysqli_query($conn,$sql) or die echo "wah error nih";
  18. $result=mysql_query($sql);
  19. //while ($row=mysqli_fetch_array($result)){
  20.  
  21.  
  22. //}
  23. header("Location:1IA01.php");
  24.  
  25.  
  26. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement