test 1 - 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 test 1.php

  1. <?php
  2.  $code = "123456";
  3.  
  4.  $html = "<html>
  5.  <form>
  6.  <input type='text' id='custId' name='custId' value=$code>
  7.  </form>
  8.  </html>";
  9.  
  10.  echo $html;
  11.  
  12. ?>
File Description
  • test 1
  • PHP Code
  • 18 Feb-2020
  • 150 Bytes
You can Share it: