different actions in for based on submit button code example Example: two buttons in same form <input type="submit" name="button_1" value="Click me">