Section 1

Preview this deck

What symbol does variables in PHP start with

Front

Star 0%
Star 0%
Star 0%
Star 0%
Star 0%

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Active users

0

All-time users

0

Favorites

0

Last updated

6 years ago

Date created

Mar 1, 2020

Cards (17)

Section 1

(17 cards)

What symbol does variables in PHP start with

Front

$

Back

What is an array variable?

Front

a storage area holding a number or text. It can hold can store multiple values in one single variable.

Back

What is the concatenation operator (.)used for?

Front

to put two string values together

Back

What is the built-in $_GET function used for?

Front

to collect values from a form sent with method="get"

Back

When should lines be enclosed within curly braces? {}

Front

if more than one line will be executed if a condition is true or false

Back

What are the PHP conditional statements?

Front

-if -if...else -if...elseif....else -switch

Back

What is a numeric array?

Front

-an array with a numeric index

Back

What is PHP?

Front

a widely-used open source general purpose scripting language

Back

What does PHP stand for?

Front

Hypertext Preprocessor

Back

What is an associative array?

Front

an array where each ID key is associated with a value

Back

What are 4 different loops?

Front

-while -do...while -for -foreach

Back

what does htmlspecialchars() do?

Front

makes sure any characters that are special in html are properly encoded so people can't inject HTML tags or Javascript into your page

Back

What are the four classifications of operators?

Front

-arithmetic -assignment -comparison -logical

Back

What is a multidimensional array?

Front

an array containing one or more arrays

Back

What is a loop?

Front

when a certain block of code runs over and over again in a row

Back

What are the parameters for the for loop?

Front

-init -condition -increment

Back

What kind of scripting language is PHP?

Front

server-side

Back