Here's something i was trying tonight.
A form with 3 buttons(!).
I kept all 3 in the same <form> element just to see,...
the first button, submit works as expected,
the second button at first i had coded like this:
<input type="button" name="reset-page-copy" value="reset to default" />
when coded as type="button" it did not respond to this...
//run some code
but when coding as type="submit" or .....
<input type="submit" name="reset-page-copy" value="reset to default" />
...the if isset statement worked.
why is that?? i never came across this before.
and how can i use input type="button" instead of input type="submit" ??
big thanks everyone