Previous Stage
1. Test if PHP works at all. Write a simple message.
2. Practice writing comments. You shouldn't be able to see any changes, since PHP won't even spit out the comments in the source file.
3. Practice setting variables and using the variable to write and do math on the page.
4. Practice writing functions and "return" properties. Very similar to JS.
5. Practice placing server-side includes. The external php file is named external.php.

The following is all written in PHP.

Stage 1. Hello World

Stage 3. This is a variable-created string.
4x5=20

Stage 4. The following statement is done by calling a function and returning the result of the function
6 x 7 = 42

Stage 5. The following uses the "include()" function to include another php file.
Untitled Document

Hey everyone this sentence is written in html in external.php

hey everyone this sentence is writen in php in external.php.

End of PHP scripts

Return to the main page of this experiment.