
See what you will learn in this course and also preview the 2 projects that are done at the end of the course.
Learn how to set up everything you need for PHP on Windows
Learn about the server's root folder
Set up the main project folder for the course
Learn the bare basics of how to use PHP
Explore superglobals such as $_SERVER, learn they are always available in all scopes, and define constants with define, including uppercase naming, noting they cannot be changed.
Learn how to use numbers in PHP
Learn useful number related functions
Learn about strings in PHP
Learn about useful string related functions
Master logical operators in PHP, including not (!), and (&&), or (||); and comparison operators like ==, ===, !=, !==, >, <, >=, <=, plus single equals for assignment.
Explore the four PHP loops - while, do-while, for, and foreach - and practice incrementing variables, printing results, and when to use while versus for.
Learn to create and initialize php arrays with parentheses or short square bracket syntax, using zero-based indexes and count to determine length while accessing, adding, deleting elements, and looping.
Create and use associative arrays with named keys in PHP, iterate them with foreach, and access multi-dimensional arrays, then convert between strings and arrays with explode and implode.
Explore how to define and call functions in PHP, including parameters, default values, and returning results, and learn to assign function outputs to variables.
Learn about the POST method
Learn how to handle a PHP form post by capturing fields with $_POST and assigning them to variables. Echo values back on the same page using a hidden submitted flag.
Learn how to create sticky forms
Learn about the GET method
Learn how to manipulate errors in PHP
Learn how to use templates and external files
Learn about date and time and useful functions
Learn how to send http headers with php using the header function for redirection and content-type control, including location redirects and setting the content-type.
Learn about output buffering in PHP
Learn how to work with files and directories
Learn how to upload files
Enhance file uploading in PHP by defining a max file size, an upload directory, and a hidden input for max size, then validate file name, type, and size in kilobytes.
Learn to enable multiple file uploads in PHP by turning the input into an array, iterating with foreach, and handling each file's name and properties to upload several files successfully.
Explore type casting in PHP by changing a variable's data type using braces and parentheses, converting between integer, string, float, and array, and observing true or false outcomes from comparisons.
Learn what's new in php 7
The lecture introduces core database basics for PHP and MySQL, covering data types, indexing for performance, primary and foreign keys, auto-increment, and using phpMyAdmin to interact with databases.
Create databases and tables with sql, define columns such as id and names, set a primary key, and use show and drop commands to manage databases and tables.
Learn to create databases and tables with phpMyAdmin GUI, define a users table with a primary key, set column types and constraints, and manage structure, browse data, and drop databases.
Learn to insert data with SQL and GUI, choosing to specify all columns or rely on defaults, and apply password encryption and the current server time for registration date.
Learn how to query a MySQL users table by selecting all or specific columns, applying where conditions, ordering results, using like with wildcards, and limiting rows.
Identify and compare table relationships: one-to-one, one-to-many, and many-to-many, with foreign keys linking related data.
Create a MySQL database with categories and food tables linked by a foreign key, and learn cascade delete and adding or removing the constraint for data integrity.
Learn how left, right, and full joins fetch rows from related tables, using the left table or right table to include unmatched rows, with examples from food and categories.
Explore how indexes monitor column values to boost retrieval performance, and practice adding, dropping, and enforcing primary, foreign, and unique indexes on a table, including a name column.
Learn how to create sql dumps, export a table like users, and import the dump back into a database; understand create table, primary key, and auto increment behavior.
Explore using transactions in PHP and MySQL to run a sequence of queries in one session, update a user record, and commit or rollback to ensure data integrity.
Connect to a database from PHP using mysqli or PDO, define host, user, password, and database name, and learn CRUD operations.
Learn the create operation of CRUD with PHP and MySQL by creating a file, connecting to the database, and inserting a new user with first name, last name, and email.
Learn how to implement PHP and MySQL transactions, including beginning a transaction, executing queries, committing changes, and safely closing the connection for reliable data integrity.
continue with pagination in php and mysql using a start value and limit to fetch and display user records (id, first name, last name) in a table, with next links.
Create paginated links in PHP to navigate through results by calculating the current page, looping to generate pages, and rendering links only for non-current pages, with query parameters.
Implement pagination in PHP by adding previous and next links, shown only when the current page is not the first or last.
Create an admin PHP page that displays all pages in a table ordered by id ascending, with edit and delete links, using a database query and a while loop.
Improve the admin area by organizing pages, adding navigation links, and hiding the homepage link for id 1 with a conditional check. Next video covers adding new pages.
Create an admin page form by copying and renaming the page, add back to all pages link, use bootstrap inputs for title and content, and integrate a rich text editor.
Learn to build a PHP and MySQL page submission workflow with validation, error handling, inserting into pages, retrieving the last insert id, and updating records with escaping.
learn to implement the edit page functionality by retrieving a page by id, updating its title and content, and handling redirects and validation to confirm edits.
Learn to implement a delete page in PHP and MySQL: create delete_page, fetch the id, run a delete from pages where ID equals, and redirect to update the admin view.
Implement admin login in PHP by creating a login form, validating credentials against the users table, starting a session, and protecting admin pages with redirects.
Add a logo, navigation links, and basic session handling to connect admin and front-end pages, and refine home, about us, and services pages for a cohesive PHP and MySQL project.
Learn how to upload your website online
Unlock courses for ten dollars each and discover the best prices through my website today.
The only course you need to learn how to use PHP and MySQL. Absolutely no PHP/MySQL knowledge is either assumed or required.
Go from a complete beginner to PHP/MySQL developer!
This course takes you from complete beginning (installing php) to creating 2 projects and showing you how to get your php/mysql website online!
Great for both beginner programmers and PHP enthusiasts.
Every single thing is done from scratch and on video!
This is a no-nonsense and to the point course designed to teach beginner programmers and others who want to learn php and mysql and how php and mysql work in practice.
Covers PHP versions 5.6 and 7.
Learn PHP,SQL,MySQL, how to use PHP with MySQL and then use that knowledge to create 2 projects, all in one course!
Learn and understand how PHP and MySQL work in practice.
Learn from complete beginning up to getting your dynamic website online!
NOTE: If the current asking price is too much for you feel free to message me for a discount!