Dynamic Web Sites - Exercises with Examples

"Hello World"

Simple PHP script, no HTML markup. Use the the browser's source view to confirm the absence of any markup. (view the color-coded, PHP source code)

The same PHP code as above embedded within HTML. Again, use the the browser's source view to confirm the presence of HTML markup. (view the color-coded, PHP source code)

Exercise #1

Write your own versions of the "Hello World" example. Write a plain version, and a version embedded in HTML. Pleas be sure to actually type your own scripts, so you begin practicing writing code on your own. DO NOT just copy and paste the source code you find here.

Create a new folder within your home directory and label it "homework". Upload your code to your "homework" folder and view your files in action.