index.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.
Result of php executing
Full code of index.php.php
- <!DOCTYPE html>
- <html>
- <head>
- <meta charset=”utf-8″>
- <title>Hello World</title>
- </head>
- <body>
- <h1>Hello World</h1>
- <form method="post">
- <p><input type="text" name="user"></p>
- <p><button type="reset">Clear form</button>
- <button type="submit">Send form</button></p>
- </form>
- <?php
- echo $_POST['user']; // Если выбран хоть 1 элемент
- ?>
- <?php
- echo "end";
- ?>
- </body>
- </html>
File Description
- index.php
- PHP Code
- 10 Jan-2021
- 411 Bytes
You can Share it:
Latest PHP Pastes