PHP 101 Tutorials


Overview

Parts 5 and 8 from the PHP 101 tutorials are focused here. PHP 101 is a tutorial series that teaches PHP to someone who is a beginner that has never heard of it before. It covers the basics of SQL to more intermediate topics that everyone should know when it comes to using the programming language.

Part 5

Part 5 of the series focuses on reading/writing from an external file using PHP. The lesson is split up into different sections that teach the reader the code for each operation of file handling, including reading, writing, and displaying the content on the webpage.
Click here to view the example program "Spanish Omlette" from Part 5 that reads from a text file and displays it onto a page.

Part 8

Part 8 teaches readers how to create a simple database using SQL. It also introduces some SQL functions such as SELECT and how to incorporate the SQL code into PHP. This part in the series connects SQL and PHP together and demonstrates how to extract and display a database's content onto a webpage with html styling.
Click here to view the example program "Animal Magnetism" from Part 8 that displays a user-created database of a country and its national animal.