DDD - 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 DDD.php
- <!DOCTYPE html>
- <html>
- <head>
- <title></title>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- </head>
- <body>
- <form method='POST'>
- <h2>Please input your name:</h2>
- <input type="text" name="name">
- <input type="submit" value="Submit Name">
- </form>
- <?php
- //Retrieve name from query string and store to a local variable
- $name = $_POST['name'];
- echo "<h3> Hello $name </h3>";
- ?>
- </body>
- </html>
File Description
- DDD
- PHP Code
- 19 Mar-2021
- 429 Bytes
You can Share it:
Latest PHP Pastes