Forms Flashcards
1
Q
What does a get method do
A
Put the results in the url
2
Q
What does the post method do
A
Put the data in the html
3
Q
What is the action of a form
A
A PHP file with code that should be run with the data from the form
4
Q
What is a disadvantage of get method
A
The data is clearly visible on the url
5
Q
What is an advantage of get
A
It creates a custom URL that can be reused to get the the same version of the site
6
Q
What is a session
A
This allows for variables to be accessed from any part of the site where the session as been started