Toggle navigation
Genres
Frontend (2)
JavaScript (6)
Database (2)
Linux Server (3)
Web Apps (4)
Misc (4)
Search
List
New Tutorials
Last Modified Tutorials
</>
Code examples
code
smiko
frontend
html
examples
forms
40passvars_php_extract.php
40passvars_php_extract.php
<!DOCTYPE HTML> <html lang="hr"> <head> <meta charset="UTF-8"> <title>PHP extract</title> </head> <body> <form action="40passvars_php_extract.php" method="POST" enctype="application/x-www-form-urlencoded"> Title: <br><input type="Text" name="tit" size="30"> <br><br> Message: <br><textarea name="msg" cols="30" rows="3"></textarea> <br><br> <button type="submit">Send</button> </form> <br> <br> <hr> <?php if(!empty($_POST)) extract($_POST); ?> Title: <?= $tit ?> <br>Message: <?= $msg ?> </body> </html>
Reload page
Preview
W3C validation
Edit Code