Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- if(isset($_POST['button1']))
- {
- echo "BUTTON1 aaa";
- }
- else if(isset($_POST['button2']))
- {
- echo "Day la button2";
- }
- else
- {
- ?>
- <form action="" method="post">
- <input type="submit" name = "button1" value="button1" />
- <input type="submit" name = "button2" value="Button2" />
- </form>
- <?php
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement