test_form - 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.
Result of php executing
Full code of test_form.php
- <!DOCTYPE html>
- <html>
- <body>
- <h1 class="settitle" align="center">php test</h1>
- <form action="welcome.php" method="post">
- Name: <input type="text" name="name"><br>
- E-mail: <input type="text" name="email"><br>
- <input type="submit">
- </form>
- <!--
- <?php
- $txt = "PHP";
- echo "I love $txt!<br>";
- ?>
- -->
- </body>
- </html>