Below are links to all the source code in this course. You can download project source code for each lecture in the course individually.
3. Variables
Source code - Variables - Write Your First PHP Code: Display a Message in Your Web Browser
Source code - Variables - Variables in PHP: What They are, How to Create Them, and How to Name Them
Source code - Variables - Basic Variable Types: Strings and Numbers
Source code - Variables - Basic Variable Types: Boolean and Null
Source code - Variables - Perform Operations on Variables: Operators
Source code - Variables - Strings: Using Single or Double Quotes and Variable Interpolation
4. Arrays
Source code - Arrays - Introduction to Arrays: Create an Array and Access its Elements
Source code - Arrays - Assign Manual Array Indexes and Create Associative Arrays
Source code - Arrays - Create and Access Multidimensional Arrays
Source code - Arrays - Process Each Element of an Array: foreach Loops
Source code - Arrays - Process the value and index of each array element using a foreach loop
5. Control structures
Source code - Control structures - Run Code Conditionally: the if Construct
Source code - Control structures - Compare One Value to another: Comparison Operators
Source code - Control structures - Run Code Multiple Times Based on a Condition: While Loops
Source code - Control structures - Run Code a Specific Number Of Times: For Loops
Source code - Control structures - Add More Conditions to an If Statement Using Elseif
6. An Introduction to HTML
Source code - An Introduction to HTML - The Language of Web Pages: an Introduction To Html
Source code - An Introduction to HTML - Use Head and Body Elements to Structure An Html Document
Source code - An Introduction to HTML - Display Ordered and Unordered Lists of Items
Source code - An Introduction to HTML - Insert Images Into an Html Document
Source code - An Introduction to HTML - Add a Link from One Page to Another Using a Hyperlink
Source code - An Introduction to HTML - Add Semantic Structure to The Body of an Html Document
7. Mixing PHP and HTML
Source code - Mixing PHP and HTML - Create Dynamic Content: Mixing HTML and PHP
Source code - Mixing PHP and HTML - Use PHP Control Structures Mixed with HTML
Source code - Mixing PHP and HTML - Make HTML More Readable: Use Whitespace and Comments
Source code - Mixing PHP and HTML - Make PHP Easier To Maintain: Use Comments and Coding Standards
8. An Introduction to Databases
Source code - An Introduction to Databases - Connect to the Database from PHP
Source code - An Introduction to Databases - Query the Database from PHP And Get the Results
9. Multiple Pages in PHP
Source code - Multiple Pages in PHP - Add a New Page to Show a Single Article
Source code - Multiple Pages in PHP - Organise and Secure Access to the Included Files
10. An Introduction to HTML Forms
Source code - An Introduction to HTML Forms - Access Data from the form on the Server
Source code - An Introduction to HTML Forms - Add a Multi-line Text Control: the textarea Element
Source code - An Introduction to HTML Forms - Present a Fixed List of Options: the Select Element
Source code - An Introduction to HTML Forms - Toggle an Option on or off: checkboxes
Source code - An Introduction to HTML Forms - Select only one Option from a List: Radio Buttons
Source code - An Introduction to HTML Forms - Validate Input Using HTML5 form Validation
11. Inserting Data Into the Database from PHP
Source code - Inserting Data Into the Database from PHP - Add a Form to Insert a New Article
Source code - Inserting Data Into the Database from PHP - How SQL Injection Attacks Work
Source code - Inserting Data Into the Database from PHP - Avoid SQL Injection Attacks: Escape Input
12. An Introduction to Functions and Validation in PHP
13. Editing Data in the Database from PHP
Source code - Editing Data in the Database from PHP - Add a Form for Editing an Existing Article
Source code - Editing Data in the Database from PHP - Update an Existing Article in the Database
Source code - Editing Data in the Database from PHP - Create a Function to Redirect to Another URL
14. Deleting Data from the Database from PHP
Source code - Deleting Data from the Database from PHP - Delete an Existing Article in the Database
15. Using Sessions to Log in and Restrict Access
16. An Introduction to Object-Oriented PHP
Source code - An Introduction to Object-Oriented PHP - Object Functions: Adding Methods to a Class
Source code - An Introduction to Object-Oriented PHP - Object Initialisation: the Constructor Method
Source code - An Introduction to Object-Oriented PHP - Static Properties and Methods
17. PDO: PHP Data Objects
Source code - PDO: PHP Data Objects - Fetch the Database Record as an Object Instead of an Array
Source code - PDO: PHP Data Objects - Update the Article Record Using PDO
Source code - PDO: PHP Data Objects - Move the Validation Function to the Article Class
Source code - PDO: PHP Data Objects - Delete the Article Record Using PDO
18. Authentication Using the Database
Source code - Authentication Using the Database - Create a Table to Store User Data in the Database
Source code - Authentication Using the Database - Authenticate the User with Data from the Database
19. Class Autoloading
Source code - Class Autoloading - Convert the auth Include into a Class
Source code - Class Autoloading - Convert the url Include into a Class
Source code - Class Autoloading - Autoloading Classes: Require Class Files Automatically
Source code - Class Autoloading - Add an Initialisation Script Including an Autoloader
20. Site Administration
Source code - Site Administration - Move all Authentication-related Code to the Auth Class
Source code - Site Administration - Displaying Tabular Data in HTML: Tables
Source code - Site Administration - Add Sitewide Navigation Links
Source code - Site Administration - Move the Edit and Delete Article Scripts to the admin Area
Source code - Site Administration - Move the New Article Script to the admin Area
21. Pagination
Source code - Pagination - Add a Method to the Article Class to get a Single Page of Article Records
Source code - Pagination - Get the Page Number from the Query String
Source code - Pagination - Validate the Page Number using the filter_var Function
Source code - Pagination - Add Previous and Next Pagination Links
Source code - Pagination - Calculate the Total Number of Records and Pages
Source code - Pagination - Add Pagination to the admin Index and Create Shared Pagination Links
22. Uploading Files
Source code - Uploading Files - Uploading Files: Add a Form to Upload an Article Image
Source code - Uploading Files - Handle the Upload Error Code
Source code - Uploading Files - Restrict the Size of an Uploaded File in an Individual Form
Source code - Uploading Files - Restrict the Type of an Uploaded File
Source code - Uploading Files - Create a Folder for Uploads and Move the Uploaded File into it
Source code - Uploading Files - Sanitise the Uploaded Filename as a Security Precaution
Source code - Uploading Files - Don't Overwrite Existing Files in the Uploads Folder
Source code - Uploading Files - Save the Filename to the Article Record in the Database
Source code - Uploading Files - Display the Uploaded Image if an Article has one
Source code - Uploading Files - Delete the Previous image File when an Article Image is Updated
Source code - Uploading Files - Add an Option to Delete an Article's Image file
24. Using Relationships: Article Categories
25. JavaScript and PHP
Source code - JavaScript and PHP - Execute Code in the Browser: An Introduction to JavaScript
Source code - JavaScript and PHP - Using the jQuery Library
Source code - JavaScript and PHP - Add jQuery and a Custom Script file to the CMS
Source code - JavaScript and PHP - Add Delete Confirmation Using JavaScript and POST
Source code - JavaScript and PHP - Client-side form Validation Using the jQuery Validation Plugin
Source code - JavaScript and PHP - An Introduction to Ajax with PHP
Source code - JavaScript and PHP - Use JSON to Safely Encode Structured Data in an Ajax Request
26. Dates and Times
Source code - Dates and Times - Only Show an Individual Article if it's been Published
Source code - Dates and Times - Only Show Published Articles on the Index Page
Source code - Dates and Times - Show the Published Date and Time of Articles in the admin Area
Source code - Dates and Times - Publish Unpublished Articles Using an Ajax Request
27. An Introduction to CSS
Source code - An Introduction to CSS - Add Styling and Formatting to HTML: an Introduction to CSS
Source code - An Introduction to CSS - Using CSS Frameworks: Bootstrap et al
Source code - An Introduction to CSS - Add a General Layout and Style the Navigation Links
Source code - An Introduction to CSS - Add Styling and Layout to Forms and Tables
Source code - An Introduction to CSS - Add a Custom Stylesheet and Style the List of Articles
28. Sending Emails from PHP
Source code - Sending Emails from PHP - Add a Contact Page for Sending an Email
Source code - Sending Emails from PHP - Validate the Submitted Contact Form
Source code - Sending Emails from PHP - How to Send Email from PHP: the Mail Function and PHPMailer
Source code - Sending Emails from PHP - Send Email from the Contact Page Using PHPMailer
29. Configuration and Error Handling
Source code - Configuration and Error Handling - HTTP Status Codes and Handling Ajax Errors
30. Conclusion
Source code - Conclusion - Deployment: Publish your Code on a Live Server