Skip to main content
5 events
when toggle format what by license comment
Jan 13, 2016 at 21:29 comment added Nicolai Grossherr @gdaniel My pleasure!
Jan 13, 2016 at 21:23 vote accept gdaniel
Jan 13, 2016 at 21:21 comment added Nicolai Grossherr Totally forgot to explain the value part, but you figured it out yourself anyway. I would figure that should be enough to determine the button pressed, right? @gdaniel
Jan 13, 2016 at 21:20 comment added gdaniel Gotcha. I was expecting to see something like $_POST['submit'] = 'my_submit_button_value", where the array key is always 'submit', but the value changes according to the name attribute. But instead, what I see is the key as the submit button 'name' and the value as the submit button 'value'. So I just need to check of the key exists, and if it matches the value.
Jan 13, 2016 at 21:02 history answered Nicolai Grossherr CC BY-SA 3.0