+ 1
what is tag of method attribute
for knonledge
2 odpowiedzi
+ 12
https://www.w3schools.com/tags/att_form_method.asp
<form> </form>
0
method attribute is used in the <form> tag. It can be "post" or "get", that defines the type (or method) for submit data. Post method is used to submit secret data, like passwords. Get method is used to submit data via URL;
for example:
www.example.com/first.php?name=John&age=30
^ ^ for more data
here data begins
The data will be collected by the php superglobals $_POST['nameOfVariable'] and $_GET['nameOfVariable']