Week 9-10 Question 2 - 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 Week 9-10 Question 2.php

  1. <!DOCTYPE HTML>
  2. <html>  
  3. <body>
  4.  
  5. <form action="welcome.php" method="post">
  6. Course Name: <input type="text" name="name"><br>
  7. Room Number: <input type="text" name="room number"><br>
  8. Instructors Name: <input type="text" name="instructors name"><br>
  9. Instructors E-mail: <input type="text" name="instructors email"><br>
  10. <input type="submit">
  11. </form>
  12.  
  13. </body>
  14. </html>
File Description
  • Week 9-10 Question 2
  • PHP Code
  • 31 Mar-2021
  • 361 Bytes
You can Share it: