PHP 101 Tutorials

In part 5 of the PHP 101 Tutorials, I practiced opening a text file and using PHP to output that text (in this case, the recipe for a Spanish Omelette) to a webpage, which can be found here. Furthermore, I learned to write to a file, test the status of a file - whether it exists or whether its empty - and read the file into an array.

In part 8 incorporates PHP with the focus of this module, databases and MySQL. I created a new database, testdb, and populated it with a table called 'symbols' that contained several entries. Another portion of the exercise accessed the database using PHP, which can be found here. I was also able to query the database using the PHP script.