Forms Flashcards

1
Q

What does a get method do

A

Put the results in the url

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What does the post method do

A

Put the data in the html

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is a disadvantage of get method

A

The data is clearly visible on the url

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly