form.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 form.php.php
- <!DOCTYPE html>
- <html>
- <head>
- <meta charset="utf-8">
- <title>Kasa</title>
- </head>
- <body>
- <h1>Kasa online</h1>
- <form action="" method="get">
- Imie: <input type="text" name="Imie"><br>
- Nazwisko: <input type="text" name="Nazwisko"><br>
- <input type="submit">
- </form>
- </body>
- <?php
- $Imie = $_POST['imie'];
- $Nazwisko = $_POST['nazw'];
- ?>
- </html>