
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.
Explore escape characters in PHP to print quotes within strings, using backslashes and single or double quotes to prevent syntax errors.
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.
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.
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 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.
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.
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.
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.
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.
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.
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!