+ 3
how do i use post method in this code instead of get method?
2 Answers
+ 4
you have to change the form tag attributes to something like.....
<form method="post" action="$_SERVER['PHP_SELF']">
+ 4
"form" tag has an "method" attribute that is used for your case:
<form method="POST" >...
But its unuseful if you dont set "action" attribute