Advertisement
agung_indra_wijaya

form_hitung

Jan 17th, 2017
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.51 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4.     <title>Kalkulator CI</title>
  5. </head>
  6. <body>
  7. <h1>Kalkulator CI</h1>
  8. <form action="<?php echo site_url('Calculator/hasil_hitung');?>" method="POST">
  9.     <input type="text" name="angka1"> <br><br>
  10.     <input type="text" name="angka2"> <br><br>
  11.     <select name="pilih-hitung">
  12.         <option value="+">+</option>
  13.         <option value="-">-</option>
  14.         <option value="*">*</option>
  15.         <option value="/">/</option>
  16.     </select><br><br>
  17.     <input type="submit" value="Hitung">
  18. </form>
  19. </body>
  20. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement