Search Header Logo

PHP (Forms and Variables)

Authored by NATHAN FRANKENBERGER

Computers

9th - 11th Grade

Used 9+ times

PHP (Forms and Variables)
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What does the action attribute control in the <form> tag?

How the form is displayed

Where the data from the form is sent

If the data is displayed in the address bar

If the form is interactive

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What denotes a variable in PHP?

#

_

!

$

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

When using "Post" as your form method, what variable will contain all the values sent by the form?

$GET

$POST

$_POST

$_GET

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

When using "Get" as your form method, what variable will contain all the values sent by the form?

$GET

$POST

$_POST

$_GET

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

$_GET and $_POST are best descibed as

arrays

doubles

Strings

integers

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Given <input type='text' name='last'>, how would this data be accessed after the form has been submitted (assume method was POST)

$_POST['text]

$_POST['last']

$_POST[]

$_POST['input']

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Escape sequences are valid inside which type of String?

' '

" "

$ .... $

// ........ //

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?