Introduction
Learn what PHP is and how it creates dynamic, server-side web pages.
PHP is an open-source, interpreted, and object-oriented scripting language that can be used to create server-side applications. In other words, the Hypertext Preprocessor (PHP) is a server side scripting language that allows you to develop dynamic web pages along with database interactions.
Learn what PHP is and how it creates dynamic, server-side web pages.
Write and run your first PHP program.
Learn single-line and multi-line comments in PHP.
Learn how variables are declared and the rules for naming them.
Learn the scalar, compound and special data types in PHP.
Learn arithmetic, comparison, logical, assignment and other operators.
Learn decision making statements and loops in PHP.
Learn indexed, associative and multidimensional arrays.
Learn how strings are created and manipulated in PHP.
Learn how to define and call functions and pass arguments.
Learn how to read data from web form elements such as textboxes, radio buttons and select lists.
Learn how to connect to a MySQL database, execute simple queries and handle results.
Learn how sessions keep user data across pages.
Learn how cookies store small pieces of data in the browser.
Learn how to open, read, write and close files.
Learn how to handle file uploads from a web form.