Looking for a way to prevent page from going to my PHP page after clicking submit. You can see the form for yourself if you got to http://zaryquiz.com/
Asked
Active
Viewed 69 times
1 Answers
0
The 'action' attribute of your form tells the form where to submit:
<form method="post" action="page_you_want_to_submit_to.php">
Yours points to 'index2.php' so that is where it is going. Where do you want it to go?

djs
- 3,947
- 3
- 14
- 28