Advertisement
Squito

button

May 15th, 2020
1,210
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.30 KB | None | 0 0
  1. <html>
  2. <head>
  3. <title></title>
  4. </head>
  5. <body>
  6. <?PHP
  7. if(isset($_POST['gomb']))
  8. {
  9.     echo $_POST['gomb']."<br>";
  10. }
  11. ?>
  12. <form action="" method="POST">
  13. <button type="submit" value="id1" name="gomb">Valami</button>
  14. <button type="submit" value="id2" name="gomb">Valami</button>
  15. </form>
  16. </body>
  17. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement