Hi Jose Livens,
First of all, a warm welcome to CodeRanch!
Jose Livens wrote:Does this work on anyone else's computer?
I have tried the code you have provided as-is and when I click the first button (with
name="submit"), the form is submitted and the page is reloaded printing
something 5 times. When I click on any of the other buttons, nothing happens.
When I change the
type attribute of the buttons to
submit, the form is submitted every time when I click one of the buttons. To make it more distinctive, I made some small changes to the
echo statements
Hope it helps!
Kind regards,
Roel
PS. Here at CodeRanch we are fine with cross-posting, however we ask you to
disclose this. Otherwise some people (who want to help you) might waste their time and effort answering a question that has already been answered. And that might cause a (very) big annoyance.