
Create a basic PHP file that outputs hello world with echo, verify local web server, and save the file as intro.php in the lessons folder to view at localhost/php/lessons/intro.php.
Learn PHP's output methods by comparing echo and print; echo supports multiple parameters and runs slightly faster, while print does not.
Explore PHP data types such as string, integer, float, array, null, and boolean. Learn to declare variables with quotes and view their types using echo and var_dump.
Explore essential PHP string functions, including word count, reversing strings, locating text with string position, and replacing words with string replace, using practical examples like hello world.
Learn how PHP constants provide unchangeable, global values, declared with a name starting with a letter or underscore, optionally case insensitive, and accessed inside functions via echo.
Explore PHP operators, including arithmetic, assignment, comparison, increment/decrement, logical, string, and array operators, with practical examples and outputs.
Learn how to implement PHP else-if chains to map a 0-100 test score to letter grades using conditions with if, else if, and else statements to output F through A+.
Learn PHP loops, including while and do while loops, with incrementing x and conditions like x is less than 10, and observe output via echo.
Define and call PHP functions, including custom ones, using function name() { ... }, with arguments passed in parentheses and echo outputs to display values.
Explore PHP arrays, including indexed, associative, and multi-dimensional types, using colors and scores examples, zero-based indexing, count for length, and for and foreach loops to output values.
Discover PHP superglobals, built-in variables always accessible, and how a global variable can be used outside a function; see how server name and script locations are retrieved with $_SERVER.
Course: Learn PHP - For Beginners
Learn to create dynamic web applications using PHP
Students learn to integrate client-server communication into web pages to create dynamic functionality using PHP.
We start with the fundamentals, including PHP syntax and variable declaration. The course transitions into working with objects, arithmetic operators, conditional statements, loops, functions and arrays.
Students will also learn to utilize server side form validation techniques to maintain data integrity.
What you'll learn - Overview:
PHP Syntax
PHP Variables
PHP Global vs. Static Keywords
PHP Data Types
PHP Objects
PHP Strings
PHP Constants
PHP Conditional Statements & Operators
PHP Loops, Arrays, Multidimensional Arrays
PHP Superglobal Variables
PHP Forms with Validation
Key Concepts:
PHP Introduction
PHP Preparation
PHP File Test
PHP Syntax
PHP Variables
PHP Variable Scope
PHP Global Keyword
PHP Static Keyword
PHP Echo - Print
PHP Data Types
PHP Objects
PHP Strings
PHP Constants
PHP Operators
PHP Conditional Statements
PHP ElseIf Statement
PHP Switch Statement
PHP While Loops
PHP For Loops
PHP Functions
PHP Functions Continued
PHP Arrays
PHP Multidimensional Arrays
PHP Sorting Arrays
PHP Superglobal Variables
PHP Forms Introduction
PHP POST vs GET Basics
PHP Form Output and Validation
PHP Form Required Fields
PHP Validation Continued
Your Instructor:
YouAccel is a leading provider in online training, offering courses across numerous industries from IT and Development to Business, Marketing, Design, and Productivity.
The e-learning experience provided by YouAccel is Dynamic. Each course is streamed in High Definition with corresponding assignments, quizzes, and exams that are delivered and graded electronically. All YouAccel courses are taught by certified educators that have numerous years of work experience in the field for which they provide instruction.
The courses can be taken at one's own pace and are offered at several levels including beginner, intermediate and advanced. Online courses are also compatible with any mobile device for the ultimate in convenience.