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

  1. <html>
  2. <head><title>Заказ принят</title></head>
  3. <body>
  4. <h3>Заказ мебели</h3>
  5.  
  6. <?php
  7.  
  8. $obj=$_POST["obj"]; 
  9. $mat=$_POST["mat"];
  10. $count = $_POST["count"];
  11.  
  12. echo "Ваш заказ принят";
  13.  
  14. echo "Заказано изделие - $obj";
  15.  
  16. echo "Материал - $mat";
  17.  
  18. echo "Количество - $count";
  19.  
  20. ?>
  21.  
  22. </body>
  23. </html>
  24.  
File Description
  • doc.php
  • PHP Code
  • 16 Dec-2020
  • 355 Bytes
You can Share it: