PHP Essential Training

PHP Essential Training

4h 4mBeginner2022-04-11

Authors

Kevin Skoglund

Kevin Skoglund

Founder of NovaFabrica

Course details

PHP is a popular programming language that you can use to write simple code for web pages. If you have been using HTML to develop websites, learning PHP will allow you to create dynamic pages. In this course, learn the fundamentals of PHP. Kevin Skoglund covers concepts such as how to embed PHP code into an HTML page, and reviews the basic PHP data types such as strings and arrays. He also covers the different control structures in PHP, how to work with built-in PHP functions, and how to define your own custom functions.

Learning objectives
What is PHP?
Embedding PHP code on a page
Inserting code comments
Variables, strings, arrays, and Booleans
If, else, and elseif statements
While and for loops
User-defined functions
Function arguments and return values
Debugging and troubleshooting

Skills covered

PHPEssential TrainingProgramming LanguagesOpen SourceSoftware Development

Concepts

Introduction

  • Learning the fundamentals of PHP
  • How to use the exercise files
  • Installation overview

PHP Overview

  • What is PHP
  • Text editor for Mac
  • Text editor for Windows

First Steps

  • Embed PHP code on a page
  • Output dynamic text
  • The operational trail
  • Insert code comments

Explore Data Types

  • Variables
  • Strings
  • String functions
  • Numbers, part 1 - Integers
  • Numbers, part 2 - Floating points
  • Arrays
  • Associative arrays
  • Array functions
  • Booleans
  • NULL and empty
  • Type juggling and casting
  • Constants

Control Structures - Logical Expressions

  • If statements
  • Else and elseif statements
  • Logical operators
  • Switch statements

Control Structures - Loops

  • While loops
  • For loops
  • Foreach loops
  • Continue
  • Break
  • Understanding array pointers

User-Defined Functions

  • Define functions
  • Function arguments
  • Return values from a function
  • Multiple return values
  • Scope and global variables
  • Set default argument values

Debug

  • Warnings and errors
  • Common problems
  • Debug and troubleshoot

Conclusion

  • Applying PHP into an HTML website
100,000 Toman