Learning PHP, MySQL & JavaScript (with PHP 8, MySQL 8, PDO, and React) 6th Edition - to be published in spring 2021
🔴 The examples for earlier editions are in lpmj1examples.zip through lpmj5examples.zip 🔴
All the files are in the folders named 03 through 29 of this archive, according to the chapters from which they are taken. You will need a web server installed (such as Ampps) to run many of the examples - please see Chapter 2 for full details.
As well as being saved in their chapter number folder, the Robin's Nest example files are also in the folder robinsnest, so that you can copy the folder to a web server to try for yourself. Please read the final chapter for details on setting up the database etc. All the other information you need to run, understand and modify these examples can be found in the book.
For the latest news on this book, including any errata that have been discovered since its publication (and any updates to these files), please visit the O'Reilly page.
To read the examples as you work through the book you can view them here in a folder structure matching the chapters in the book.
Once you have a web server set up, copy the entire structure of folders and subfolders into your document root directory by downloading and extracting lpmj6examples.zip from this repo, and you'll easily be able to navigate through all the examples by typing localhost into your web browser.
Note: The robinsnest folder link will issue errors when clicked unless you have previously created both a MySQL user and database called robinsnest, and run the setup.php program in this folder, as outlined in Chapter 29.