0
I used action in my form code. And provide a url. But when i click submit button it is not moving its destination.
2 ответов
+ 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
+ 4
Where is it moving? Show the <form> opening element