Saturday, December 8, 2012

PHP Lesson 1-5 Overview and Quiz

Section One Overview...
By Stephon Unomon

 

While we have not covered the entirety of basic PHP commands, the ones we have covered are among the most common and can be used in almost any web project.

 

ECHO: Outputs to the screen.

STRING: Content within a PHP command.

VARIABLES: Something equals something else.

DATE: A way to display date/time.

INCLUDE: Pull in the contents of another file.

REQUIRE: Require the contents of another file.

HEADER: Redirects to new file / URL.

 

 

And now....for a...

 

...QUICK QUIZ!!!

 

1. What is the difference between INCLUDE and REQUIRE?

 

 

 

 

2. Can we ECHO words with quotation marks? How?

 

 

 

 

3. What is a VARIABLE used for?


PHP UI Components

No comments:

Post a Comment