
Discover the course structure for intro to PHP for web development, from downloading PHP and a text editor to mastering variables, loops, and arrays, then building PHP-driven web pages.
Check out my student Facebook Group...
It's a great place to get fast support for this course from me, to interact with other students, to post your projects and code, and to access course announcements and extras...
Join Now!
https://www.facebook.com/groups/codemycom/
Install and configure the essentials for PHP development by downloading XAMPP, choosing a text editor, and starting Apache to run PHP on your computer.
Learn how PHP handles numbers with simple math operators—plus, minus, multiply, divide, modulus, and exponent using two stars—and how to increment and decrement with ++ and -- for counters.
Explore PHP comparison operators, including equal, not equal, greater than, less than, and their inclusive forms, using numbers and strings, plus assignment vs comparison and case sensitivity.
Explore escape characters in PHP to print quotes within strings, using backslashes and single or double quotes to prevent syntax errors.
Explore numeric arrays in this course: create arrays, access items by zero-based indices with square brackets, and build multi-dimensional arrays with mixed strings, numbers, and variables.
Explore how associative arrays in PHP use key-value pairs with non-numeric keys, demonstrated with John, Steve, and Mary's favorite pizzas, and compare them to numeric arrays.
Learn to determine the number of items in an array using PHP's count function for both associative and numeric arrays, and access the last item with count(array) - 1.
Learn how to implement while loops in PHP, using a counter and condition to repeat actions until the condition becomes false, and avoid infinite loops by incrementing the counter.
Learn how the PHP for loop differs from the while loop, with the counter defined and incremented internally, and semicolon syntax.
Learn how to create and call your own functions in PHP, pass arguments, return values, and use built-in functions to build web applications.
Explore PHP's random capabilities by using rand and mt_rand to generate numbers within a range, select random array items, and learn ranges like 0 to 100.
Explore the PHP date function, learn to format and echo dates for dynamic content like copyright notices, using format specifiers (Y, y, L, j, s, F) and escaping.
Explore PHP string manipulation with string functions like str_replace to swap text and apply changes to variables. Learn case conversions with strtoupper, strtolower, ucwords, and ucfirst, plus strlen and str_shuffle.
Learn how the include function brings in variables from separate files, enabling reusable templates and a site-wide copyright statement for a guitar website.
Learn how to template a basic website using PHP include to inject a reusable navigation bar built from Bootstrap, enabling updates across many pages with a single change.
Create reusable php templates with header and footer files, include them on pages, and use bootstrap container and a jumbotron to build a WordPress site deployed to hosting.
install git bash on windows, compare with mac/linux terminals, download and run the installer, accept defaults, launch the shell, and prepare for creating an ssh key in the next video.
Learn to set up version control with git for PHP web development, initialize git, configure user details, commit changes, and push code to GitHub and Heroku for safe collaboration.
Install the heroku toolbelt, restart git bash to apply it, and verify the installation, then push php projects to heroku’s free tier, understanding dyno-based scaling.
Push your code to Heroku with git push Heroku master after logging in and adding SSH keys; if errors arise, consider creating composer.json or a proc file.
Learn to point a purchased domain to your Heroku app by adding the domain in Heroku settings and configuring a registrar’s CNAME record, using Namecheap or other registrars.
Build a solid PHP foundation from beginner to advanced, learn functions and how to template a website, and explore PHP’s enduring popularity.
Grab the PHP Cheat Sheet Here: https://codemy.com/php-sheet.pdf
Updated PHP videos cover the same content for web development; old videos using cloud nine remain for reference, but new students don’t need them.
Set up a local php development environment using the Schempp or Zamp stack on Windows with apache and mysql. Start the apache server, open localhost, and test index page.
Please watch the next video for an update on the C9.io development environment. You can still use it, you just need to go through one extra step which I explain in the next video.
Master version control with git to safely track PHP project changes and roll back mistakes. Create repositories on GitHub or Bitbucket, configure git, and push updates via SSH.
Deploy a PHP web app to Heroku with a quick setup, using the Heroku Toolbelt, Git, and GitHub, and scale from a free plan to paid dynos as traffic grows.
Explore variables as the basic building blocks in PHP, using the dollar sign to name strings, numbers, and other variables, and learn string concatenation with a period and echo.
Learn basic arithmetic operators in PHP, including addition, subtraction, multiplication, division, and modulus, plus increment and decrement. See how these enable loops and prepare for assignment and comparison operators.
Explore escape characters in PHP for handling quotation marks inside strings. Learn when to use single versus double quotes, backslashes, and multi-line strings in variables.
Master PHP conditional flow with if, else, and else if to test conditions, such as A greater than B, A equal to B, or A less than B, using echo.
Explore arrays in PHP, including numeric and associative arrays, with practical examples like shopping carts and user management, and understand keys, values, and basic usage.
Explore how loops work in PHP, covering while and for loops, incrementing with plus plus, and iterating over arrays using their length and zero-based indexes.
Explore PHP functions, including user-defined and built-in ones, learn how to declare, name, and call a function, and pass arguments while using echo to produce output.
Explore php string manipulation with practical examples like str_replace, echo with variables, and case conversions such as string to upper, string to lower, ucwords, and lcfirst.
Learn to template a multi-page php site using include to pull variables from a central file, then echo a site title and subtitle across pages. Update once, reflect everywhere.
Learn to template a website using a start bootstrap template in a php project by extracting files, renaming index.html to index.php, and using a variables file for title and year.
Template a PHP website by extracting shared elements like the nav bar and footer into reusable files. Use include and require_once to assemble pages and reflect changes, similar to WordPress.
Unlock a lifetime membership to 60+ PHP and web development courses, with a $200 limited-time discount, instant access, future course updates, and certificates of completion.
In this course you'll learn everything you need to know about PHP for Web Development.
PHP powers most of the Internet, and using it is much easier than many other programming languages.
PHP is completely free to use, and you'll be up and running building cool web apps in minutes.
In this course I'll walk you through the PHP language itself. You'll learn computer programming fundamentals like:
-Variables
- Math Operators
- Comparison Operators
- If/Else Statements
- Arrays
- Loops
- Functions
- And more!
We'll also learn how to set up an online development environment where you can write your code, and learn all about version control using git and github.
I'll also show you how to host websites for free on the popular Heroku web hosting platform.
PHP is an incredibly useful skill to have, and learning has never been easier! I'll see you inside!