About Course
This PHP programming basics course is all you need to know to get started. Fundamentals of PHP fundamentals, which will allow you to further gradually and qualitatively increase the knowledge base on web development on the formed foundation. Nothing superfluous, nothing that you do not need in your daily work as a PHP programmer.
Today, PHP is used very widely. For example, in such a globally popular content management system as WordPress. After completing our PHP course, you can easily start editing individual elements of this system.
PHP is a powerful language and even before you do something on it, you will be given the opportunity to first of all get acquainted with its main tools such as loops, conditions, operators and other knowledge about PHP that will help you quickly and efficiently start solving applied problems.
Course Content
PHP Basics
-
What is PHP, why is it needed and what will we do in this course.
-
Getting started, setting up and testing.
-
Basic php syntax
-
How to comment on scripts (2 ways).
-
Basic knowledge about variables
-
How to create variables
-
Variable types
-
Form and php. methods for sending data.
-
Some debugging functions: print_r, var_dump
-
What are arrays
-
What are multidimensional arrays
-
Outputting form results via php
-
Saving requests in the browser when refreshing the page
-
Outputting data after sending a request and manipulating it
-
Conditions in php
-
Switch statement
-
Changing settings for error output
-
The isset function and how to remove different “notices””
-
Correct output of the completed form results
-
Splitting a String: The Explode Function
-
Very detailed about the foreach loop
-
Removing spaces (trim function)
-
Counting the number of elements: count function
-
Checking the presence of an element in an array: the in_array function
-
Extending the if construct with additional conditions
-
We generate fields using php to get rid of code duplication and make it easier
-
Connecting a third-party file to a script
-
Creating your own function
-
Adding a Default Argument to Functions
-
Return construct in functions
-
Another style of function commenting
-
How to hide a form after submitting data
-
Empty function
-
Function split and joining an array into a string
-
Once again about forms and the action attribute
-
A few words about safety