title - 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 title.php

  1. <html>
  2.   <body>
  3.     <h1> Bevölkerungs-<br/>wachstum </h1>
  4.     <p></p>
  5.     <form action="" method="post">
  6.     <input name="e" size="20"
  7. maxlength="60" value="<?php echo $_POST['e']; ?>" /> aktuelle Einwohnerzahl
  8.       <p></p>
  9.        <input name="w" size="20"
  10. maxlength="60" value="<?php echo $_POST['w']; ?>" /> Wachstumsrate in %
  11.       <p></p>
  12.        <input name="j" size="20"
  13. maxlength="60" value="<?php echo $_POST['j']; ?>" /> Jahre
  14.       <p></p>
  15.       <input type="submit" value="berechnen">
  16.       
  17.     </form>
  18.   
  19.  
  20. <?php
  21.  
  22. ?>
  23. </body>
  24.     
  25. </html>
  26.  
File Description
  • title
  • PHP Code
  • 12 May-2022
  • 552 Bytes
You can Share it: