0

I used action in my form code. And provide a url. But when i click submit button it is not moving its destination.

1st Mar 2017, 5:59 PM
sumer
sumer - avatar
2 Réponses
+ 5
I guess you want to redirect the user upon clicking submit use the form action to post the input data to your php script. for example: <form name="myform" action="login.php" method="POST"> inside login.php script , after handling the data, use header('Location: example.html'); to automatically redirect to exaple.html Hope it helps
2nd Mar 2017, 4:46 AM
seamiki
seamiki - avatar
+ 4
Where is it moving? Show the <form> opening element
1st Mar 2017, 6:09 PM
Patrik Sokol
Patrik Sokol - avatar