
http://CalebCurry.com
Set up a local server with XAMPP to run PHP projects, starting Apache and MySQL, and access the server via localhost or 127.0.0.1, saving PHP files to htdocs.
Explore how comments in PHP document code and assist debugging. Learn how server-side comments stay on the server while client-side comments can be seen in the browser.
Learn how variables store temporary values and power dynamic websites using names like $name, assign values with the assignment operator, start with a dollar sign, and observe case sensitivity.
Explore PHP strings as a data type: sequences of characters defined by single or double quotes. Learn escaping with backslashes to include quotes inside strings, and note empty strings.
Explore how double quotes interpret variables and escapes while single quotes print literals, and learn to escape quotes and backslashes to control string output in PHP.
Explore how numbers and variables interact; distinguish strings from numbers. Master arithmetic and assignment operators—add, subtract, multiply, divide, modulus, and unary minus.
Master assignment operators in PHP by seeing how plus equals, minus equals, multiplication equals, division equals, and modulus affect a variable’s current value through simple demonstrations.
Explore assigning by reference in PHP, showing how two variables can share the same value with ampersand syntax, so incrementing one updates the other and both reflect the change.
Explore logical operators in php development, including and, or, and not, and learn how they power if statement conditionals and data validation such as emails and passwords.
Explore the else if conditional in PHP, building on if statements to test multiple conditions with true/false branches, optional else blocks, and short-circuiting, including practical access-control examples.
Explore the switch statement in PHP, using cases and break to test a variable's value, and include a default case.
learn how the while loop runs code while a condition is true, with x < 100, and update x to avoid an infinite loop; used to retrieve data from database.
Discover how for loops use three parameters separated by semicolons to repeat a block, with a variable, a test like i less than or equal to 5, and an increment.
Explore PHP arrays as lists of values, including indexed and associative forms with zero-based indexes. Learn to access and echo values using indices or keys.
Explore multidimensional arrays in PHP by building arrays of arrays and using associative keys to access nested elements like sandwich and cereal ingredients.
Explore how to use the foreach loop in PHP development to iterate through every value in an array, access keys and values, and echo results.
Learn the basics of PHP arrays by creating indexed and associative arrays, using square brackets, key-value pairs, and echoes, with differences in quoting and curly braces when embedding in strings.
Learn how to create indexed and associative arrays using the array function, expand to multidimensional arrays, and access nested values in PHP.
Master how to use the foreach loop in PHP to iterate values in an array, access keys and values, and echo results or add 1000 to each value.
Explore how PHP uses if and else to test conditions and direct execution. Master switch with break and loops such as while, do-while, and foreach to control flow.
Learn how to declare user defined functions in PHP, using function syntax with parameters, and create a simple add function that sums two numbers and echoes the result.
Learn how to make function parameters optional with default values and how return values enable further calculations or be used as inputs to other functions.
Explore how include and require functions work in PHP, including include, require, and their one-time variants, and how to decide when each is appropriate for reusable page components.
Learn how to set dynamic page titles in PHP by defining a page title variable, echoing it in the header, and including a shared header across pages.
Explore variable scope in PHP, distinguishing page scope, function scope, and global variables. Learn how defining variables before use and using global affect access across included files and functions.
Master PHP superglobal arrays, starting with the server super global and keys, then access file paths and form data via $_GET and $_POST, plus $_COOKIE, $_SESSION, $_REQUEST, and $_ENV.
Build an HTML form in PHP development by creating a doctype, a post method form, fieldset with labels, text input, radio buttons, a comments textarea, and a submit button.
Learn to implement a dynamic header and footer using PHP includes, convert pages to PHP, and modularize the layout with header and footer files from a free css template.
Explore the basics of form handling in PHP development, including form action, method, and get versus post submission, and how PHP scripts process and validate data.
Understand how PHP handles form data with the $_REQUEST superglobal, detailing form action and method, and how to retrieve values from POST or GET into arrays for processing.
Learn to validate form inputs in PHP by using isset and empty to ensure required fields are filled, handling empty strings and not empty values.
Learn how to check submitted form values in PHP by testing that a value is isset and not empty with conditional statements.
Create a newsletter signup form on a dedicated page with header and footer, including name, email, and gender radio inputs, wired to a PHP handler.
Build a dynamic PHP page that reads form input, validates male or female, and echoes a personalized message, while improving navigation and handling invalid values.
Learn how sticky forms preserve user input after submission errors by replaying values in form fields using PHP, value attributes, and isset checks.
This course is offered to allow for download and anytime use as well as for anybody who wishes to support my YouTube channel. This course is still in development and by becoming a student to this course you will receive any future video within this series for FREE! When created, they will be added to this course and you can download them as you please (This does not ensure new content). There is also a lot of content already, which will begin your PHP experience! By enrolling in this course I will know that there is an interest in this material and I will be motivated to create EVEN MORE! Thank you to everyone who contributes!
About this course:
This is an introductory course that dives into the basics of many topics in PHP programming, so far including: