Advertisement
Guest User

Untitled

a guest
Mar 28th, 2017
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.97 KB | None | 0 0
  1. <form method="get" action="simpankriteria.php">
  2. Inputkan Bobot Kriteria:<BR>
  3. <INPUT TYPE = "text" value="1" name = "A11" readonly>
  4. <input type="text" id="A12" onkeyup="bagi();" placeholder="C1/C2"/>
  5. <input type="text" value="" id="A13" onkeyup="bagi1();" placeholder="C1/C3"/><BR>
  6.  
  7. <input type="text" value="" id="A21" placeholder="C2/C1" readonly/>
  8. <INPUT TYPE = "text" value="1" NAME = "A22" readonly>
  9. <input type="text" value="" id="A23" onkeyup="bagi2();" placeholder="C2/C3"/><BR>
  10.  
  11. <input type="text" value="" id="A31" placeholder="C3/C1" readonly/>
  12. <input type="text" value="" id="A32" placeholder="C3/C2" readonly/>
  13. <INPUT TYPE = "text" value="1" NAME = "A33" readonly><BR>
  14.  
  15. <input type="submit" value="Masukkan Bobot">
  16. </form>
  17.  
  18. mysql_query("INSERT INTO kriteria VALUE(0,'$_GET[A11]','$_GET[A12]','$_GET[A13]','$_GET[A21]','$_GET[A22]','$_GET[A23]','$_GET[A31]','$_GET[A32]','$_GET[A33]')") //Perintah Mysql untuk mengisi tabel Tamu
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement