a guest Aug 12th, 2017 54 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- <head> <title>Calc</title> </head>
- <body> <form action="calc.php" method="post"> Digite Aqui: <input type="text" name="num" /><br /> <br /> <br /> <input type="submit" value="submeter" /> <br /> <br /> </form>
- $lol = explode("x", $_POST['num']);
- echo "O resultado foi: ".$lol*$lol;
RAW Paste Data