The PHP Programming Language: An Online Book

This page has been sent to you by the Apache Web Server. Inside the
Apache Web Server there is a software program called PHP interpreter.
This program can be used to generate web pages based on the input
provided by users.

The following sections describe in simple terms how PHP can be used
to generate web pages.



1. How to embed a PHP program in HTML pages, Print statement.

2. Comments, Variables, Variable types

3. String concatenation, Escape character, Braces

4. Assignment statement, Assignment to integer variables

5. How to construct a condition, the boolean And operator

6. The boolean Not operator, The boolean Or operator

7. Conditional execution of PHP code: the if statement

8. The if-else statement

9. The if-elseif-else statement

10. Repeated execution of PHP code: The for statement

11. The while statement

12. Construction of a data table

13. Data collection from a textbox

14. Data collection from a textarea

15. Data collection from radio buttons

16. Data collection from check boxes

17. Data collection from a drop-down list box

18. Functions

19. PHP Function: array key exists

20. PHP Function: isset