- What command is used to output to the screen?
- How are variables denoted?
- What does "loosely typed language" mean?
- How are "=" and "= =" different?
- What are the 3 parts of a for loop?
- What goes at the very end of do-while loop?
- What is an array?
- What are the 4 loop types we've covered?
- How do the "POST" and "GET" methods differ?
Monday, August 31, 2009
PHP Intro Review
Answer the following:
.
Subscribe to:
Post Comments (Atom)
10 comments:
echo
$
not strict
equals and if tihs equals this do this
for(aaaa;aaa;aaaa);
;
arrangement
for, do , do while, foreach
post shows get gets
jacob--------------------------------
1.echo
2. $
3. room for error, can redefine, can leave undefined, etc.
4. = is set == is checking
5. declare var, check, incriment
6. ;
7. stores multiple things in a single var
8. while, do, if, for
9. post is hidden, get is public
echo
$
easy
= means equal to == is checking
initial, funtion and the -- or ++ part
for
while
do
array
1. echo
2. you don't have to assign them
3.
4.= assigns a value == to see what something's equal to
5. assigning a value, doing an eqaution, increment
6.eqaution
7. a library
8. for, do, dowhile, foreach
9.
1. echo
2. u dont have to declare them
3.
4. = is equal to
5. Initialize Condition Step
6. ;
7. $ name=array ("doug", Jess, Tweet");
$name [1] = jessie" thats what it looks like
8. for - do while - array
9. post hides data and get makes data visiable
Mike
1.echo
2.with a $
3.not to many things that will keep if from working.
4. = is equal too
== is checking something
5.Initialize
Condition
Step
6. ; semi colon
7. is a way to store things
8. while
do while
for
arrays
9.Post = hidden
get = visible
1. Echo
2. $[insert variable here]
3.
4. "=" means equals. "==" means check if equal
5.
6. semicolon
7. An array is a way of storing information for easy access.
8. while, for, do-while, for-each
9. post = hidden information; get = visible information
2. All start with a "$"
3. Variables
4. "=" means "equal to", "= =" means "or".
8. For, While.
9. "Post" is hidden, "get" is visible.
1.)
2.)
3.)
4.) = means equals (math) == means
equal to
5.)delivery method, delivery, destination,
6.) ;
7.)
8.) for, while, do while, for each
9.)if there's no destination data gets sent back to the same page
What command is used to output to the screen?
- Echo
How are variables denoted?
- $
What does "loosely typed language" mean?
- A programming language that does not require a variable to be defined
How are "=" and "= =" different?
- The perfect question for Ol Tad. He still gets these confused.
- = Setting something equal to something else
- = = Comparing something to something else. (Ex: If Something equals this - do this)
What are the 3 parts of a for loop?
- Starting Point(usually a dummy variable starting at 1 or 0)
- Length of the loop. Go until it reaches a certain point.
- Variable Increment
What goes at the very end of do-while loop?
-What goes at the end of every line of code. Semicolon;
What is an array?
- A storage system that can collect different individual elements and store them in different sections of the array. All arrays start at [0]. These elements can be pulled separately or all at once. They can also be edited and deleted and moved to a different position.
What are the 4 loop types we've covered?
-I wish I was learning PHP from someone! It would have been a lot easier than reading(HATE IT) and teaching myself.
- Foreach
- For
- While
- Do While
- IF STATEMENT(JOKING)
How do the "POST" and "GET" methods differ?
- Once POST is sent, you can't get the information that was in the post back. If the information is stored in a GET, then you can get it at anytime from the URL. POSTS are better used for secure sensitive information while GETS are better for pages that have a lot of information that needs to be stored and is not secure since anyone will be able to see it at anytime.
Post a Comment