Guest User

php

a guest
Oct 20th, 2012
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.90 KB | None | 0 0
  1. <html>
  2. <head>
  3. <title>Miniräknare</title>
  4. </head>
  5. <body>
  6.  
  7. <h1>Miniräknare</h1>
  8.  
  9. <form action="" method="post">
  10.    <input  type="text" name="text" value="<?php $num1; ?>"><br/>
  11.    
  12.    <input  type="button" name="num1" value="1">
  13.    <input  type="button" name="num2" value="2">
  14.    <input  type="button" name="num3" value="3">
  15.    <br/>
  16.    
  17.    <input  type="button" name="num4" value="4">
  18.    <input  type="button" name="num5" value="5">
  19.    <input  type="button" name="num6" value="6">
  20.    <br/>
  21.  
  22.  
  23.    <input  type="button" name="num7" value="7">
  24.    <input  type="button" name="num8" value="8">
  25.    <input  type="button" name="num9" value="9">
  26.    </br/>
  27.    
  28.    <input  type="button" name="num0" value="0">
  29.    <input  type="button" name="num9" value="-">
  30.    <input  type="button" name="num9" value="+">
  31.    <br/>
  32.    
  33.    <input  type="button" name="submit" value="submit"  width="50px" >
  34. </form>
Advertisement
Add Comment
Please, Sign In to add comment