PHP Quick Intro, Review and Start
Offered By: Dave Gray via YouTube
Course Description
Overview
Dive into a comprehensive PHP tutorial designed for beginners or as a refresher on essential PHP basics. Learn how to set up a development environment using XAMPP, create PHP files, mix PHP with HTML, define variables and constants, work with different data types, manipulate arrays, and perform string operations. Explore PHP's math operators, compound assignment operators, and increment/decrement functionality. Gain practical experience by creating a dark mode feature using PHP embedded in HTML tags. Master the fundamentals needed to start programming with PHP quickly and efficiently in this 20-minute crash course.
Syllabus
Intro
Start Apache in the XAMPP control panel
Open XAMPP htdocs ➜ your_folder in Visual Studio Code
Create an index.php file
PHP files are often mixed with HTML code
How to add php code to your file
Defining variables in PHP
Output to the HTML page with PHP echo
Inserting a PHP variable into a string
PHP comments
PHP data types
Retrieve data from a PHP array
PHP variable name restrictions
Defining PHP constants
PHP string concatenation
Adding line breaks / new line returns to PHP output
PHP Math Operators
PHP Compound Assignment Operators
Increment and Decrement in PHP
Embedding PHP in an HTML tag: Create Dark Mode
Taught by
Dave Gray
Related Courses
Introduction to Functional ProgrammingDelft University of Technology via edX Introduction to Office 365 Development and APIs
Microsoft via edX Web Development and Design using Wordpress
California Institute of the Arts via Kadenze Build a Basic PHP Website Course (How To)
Treehouse Web Applications for Everybody
Independent