
Dive into PHP basics in this beginner-friendly crash course. Learn variables, functions, if statements, conditionals, install PHP on your laptop, and handle user input from forms.
Join the learning to code Facebook group to connect with senior developers and get answers to your questions. Answer a few basic questions to help keep bots and spam out.
This crash course covers installing XAMPP, launching a local server, and exploring PHP basics like variables and functions, with guidance on localhost access and PHP info.
Create your first PHP file, set read and write permissions, and test hello world on a local server. Use your editor in HD docs directory to verify PHP is installed.
Learn how PHP works as a server-side preprocessor that converts PHP code into HTML, then renders it through Apache to output plain text or web content.
WordPress, which runs on PHP, powers about 30 percent (over one third) of websites. That demand creates job and freelance opportunities for web developers.
Master PHP syntax by using opening and closing PHP tags, variables with a dollar sign and quotes for strings, and semicolons, while noting the absence of dot notation.
Learn how PHP variables begin with a dollar sign, cannot start with a number or special character, and that assignment uses equals to store values such as name and age.
Learn php basics by using echo and print to display variable values, and master string concatenation with the dot operator and single or double quotes.
Learn to document PHP code with comments, including line comments with two slashes or a hash, and multi-line comments /* ... */, and see how they don’t appear in output.
Explore the difference between single and double quotes in PHP, learn how variables behave inside strings, and use concatenation or magic quotes to craft dynamic sentences.
Learn about data types like strings, integers, floats, booleans, and arrays, with examples in various languages and notes on objects and inheritance discussed briefly.
Learn how strings use single or double quotes to hold numbers, floats, or words like true, with content shown between the quotes, and how undefined variables trigger errors.
Learn how PHP constants stay the same after define, why redefining throws a parse error, and how top-to-bottom execution prevents overwriting.
Explore how to work with arrays in PHP, including indexed and associative arrays, understand numeric keys starting at 0, and print or echo array data.
Learn the three main PHP loops: for, while, and foreach, using practical examples that count from zero to ten, increment counters, and print array contents.
Explore multidimensional arrays in PHP by looping through nested arrays, printing each person's name and website, and refining for each loops to access inner values.
Master PHP if statements and comparisons in this lesson, filtering by age with foreach loops. Understand assignment vs equality, and loose vs strict comparisons (== vs ===) and data types.
Explore php if-else statements, using strict equality to check age equals 35 and echo the name.
Learn how PHP comparison operators test booleans, floats, and exact matches, with equal, not equal, true, and false. Execute code inside curly braces to apply the syntax of comparisons.
Explore switch statements in PHP, a fast alternative to if-else, with cases, default, and break to control flow.
learn how to define functions in PHP and reuse code by using parameters, default values, return statements, and loops.
Explains super global variables in PHP, focusing on the get variable and how url parameters pass data like name and age. Introduces post variables and basic usage.
Discover how forms in PHP use get and post methods, with text and number inputs, the name attribute, and a submit button to echo name and age.
Learn how post forms differ from get forms in php, and use $_GET, $_POST, and $_REQUEST to access data. Avoid passwords in the url; prefer post for secure form submissions.
Explore PHP basics in a fast-paced crash course, covering variables, echo and print, data types, strings, arrays, loops, conditionals, functions, and submitting forms for user input.
Welcome to a PHP crash course!
This course is meant to be fast paced and quick, but also practical. That means there's a lot of information to absorb, but it's also helpful and you'll be done (and certified by Udemy) before bed time tonight.
You'll learn: