Use LEFT and RIGHT arrow keys to navigate between flashcards;
Use UP and DOWN arrow keys to flip the card;
H to show hint;
A reads text to speech;
51 Cards in this Set
- Front
- Back
PHP is an anconym for what?
|
PHP Hypertext Preprocessor
|
|
PHP is terminated with what?
|
;
|
|
Three examples of acceptable comments used in PHP?
|
// single line
# single line /* */ multi-line |
|
What is the name of the function that will allow another file to be embedded within your script?
|
Includes
|
|
What are the 4 basic programming structures in PHP?
|
Loops
Variables Functions Conditionals |
|
All variables begin with what?
|
$
|
|
Variables cannot begin with what?
|
Numbers
|
|
Strings, Integers, Booleans, Floating Point, and Arrays are all known as?
|
Data Types
|
|
\n \t and the \ are all known as what?
|
Escape Sequences
|
|
True or False, PHP will expand all variables found inside of a double quoted string?
|
True
|
|
What is the name of the programming structure that will execute a block of code conditionally?
|
Conditionals
|
|
What is the name of the programming structure that will run a block of code over and over again?
|
Loops
|
|
What is the name of the most commonly used loop that wil run as long as a condition is true?
|
While
|
|
What type of loop is designed to loop over arrays?
|
forEach
|
|
Name the two types of arrays we use?
|
Indexed $ Associative
|
|
All indexed arrays begin with what numeric key?
|
0
|
|
What is the name of a programming structure that will execute a command? For example:
mail(), print(), empty() |
Function
|
|
What attribute of the form element tells it where to send the form?
|
action
|
|
What attribute of the form element tells it how to send the data? For example, through the URL or hidden.
|
method
|
|
What is the input type required for a form element that should be kept out of view of a user?
|
hidden fields
|
|
$_GET and $_POST are known as what type of variables?
|
Super Global Variables
|
|
What is the name of the function we use to check if a form element was not filled out?
|
coming soon...
|
|
What do you need in forms?
|
Names
|
|
In a datatbase, what is used to store and organize our data?
|
Tables
|
|
the horizontal rows in a database table are known as what?
|
Records
|
|
The vertical columns in a database table are known as what?
|
fields
|
|
What type of key is used to uniquely identify each record?
|
Primany Key
|
|
What type of key is used to relate two separate tables to each other?
|
Foreign Key
|
|
What are the four basic queries in MySQL?
|
Delete
Update Insert Select |
|
Which query will add data to a table?
|
Insert
|
|
Which query will edit data in a table?
|
Update
|
|
Which query will remove data in a table?
|
Delete
|
|
When we separate our data, locig and presentation this is known as what?
|
3 Tier application design
|
|
Name the function we use to connect to our MySQL?
|
mySQL_connect
|
|
Name the function we use to connect to a specific MySQL database?
|
mysql_select_db();
|
|
Name the function we use to organize our query into associative array?
|
mysql_fetch_assoc
|
|
We use this as the interpreter between our site and our database.
|
mySQL
|
|
Name the programming language required to deploy an RSS feed for web applications?
|
xml
|
|
Write the form attribute that should be placed in the opening form tag to handle file uploads.
|
Enctype
enctype="multipart/form_data"> |
|
What is the Super Global Variable used to handle file uploads?
|
$_FILES
|
|
When we put one array inside another array this is known as what type of array?
|
multi-dimensional
|
|
What is the PHP function that will allow us to move an uploaded image from its temporary location to its permanent destination?
|
move_uploaded_file()
|
|
What is the PHP function that will check if a filename exists and is a regular file?
|
is_file()
|
|
What is the PHP function that will delete our image file from our server folder?
|
unlink()
|
|
HTTP is an ancronym for what?
|
HyperText Transfer Protocol
|
|
What is the name of the person who designed HTTP as we know it today?
|
Tim Berners-Lee
|
|
HTTP is known as what type of protocol due to the fact that data is not retained once it is sent to the client?
|
stateless
|
|
Information can be stored on the clients machine in the form of a text time using what?
|
cookies
|
|
Which global variable should be used to store login information for users?
|
$_session
|
|
What is the function used to set a cookie?
|
setcookie()
|
|
What is the function used to start a session?
|
session_start()
|