nwd - PHP Online

Form of PHP Sandbox

Enter Your PHP code here for testing/debugging in the Online PHP Sandbox. As in the usual PHP files, you can also add HTML, but do not forget to add the tag <?php in the places where the PHP script should be executed.



Your result can be seen below.

Result of php executing





Full code of nwd.php

  1. <!DOCTYPE html>
  2.  
  3. <html lang="pl">
  4.  
  5. <head>
  6. <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/css/bulma.min.css" type="text/css"/>
  7. <link rel="stylesheet" href="css/style2.css" type="text/css"/>
  8. </head>
  9. <body>
  10.     <h1>NWD</h1>
  11. <form action="NWD.php" method="POST">
  12.      Liczba a:
  13.     <input type="number" name="a" />
  14.     <br/><br/>
  15.    
  16.     Liczba b:
  17.     <input type="number" name="b" />
  18.     <br/><br/>
  19.     <input type="submit" class="button is-link" 
  20.     value="Oblicz najwiekszy wspolny dzielnik"/>
  21.     </form>
  22. </body>
  23. </html>
File Description
  • nwd
  • PHP Code
  • 11 Apr-2021
  • 566 Bytes
You can Share it: