PHP Basics

In this section, we will cover all the basics needed to create the dynamic part of a website. Consider this an introduction to PHP. If you’re already familiar with the topic, you can skip some parts, although you might find some new information if you read the entire ‘Basics’ section of the tutorial.

I will include sections on how to install a server on your PC in the easiest and most practical way. These sections will be highlighted in green, and you can completely skip them if you already know how to do this or have previous experience

Titledescription
What is PHP? A little introduction of what is PHP and what can you do with it
Syntax We will see the basics syntax of PHP language
PHP data typesOn these topic we will se the different data types, juggling and cast one type to another
PHP VariablesYou will see how to declare a variable in php and another things
PHP ConstantsHow to defiene constants on PHP language
PHP Operatorsthe majority of PHP operators, we will see ternary operator and elvis operator apart
PHP control structures We will see how the different control structures change the flow in our code.
FunctionsDo not repeat your code using functions
PHP heredoc and nowdocPHP heredoc and nowdoc
Errors Errors handling
PHP ExceptionsPHP exception handling
PHP predefined variables We ll touch what does the diferent predefined varaibles
PHP $_GET Handling of url parameters with $_GET
PHP $_POST how to recive data sended with the http POST method with $_POST
header and the redirection in PHP PHP header
[ADS_A1/]

the following lecture is optional and depends on your interest:

títulodescripción
Generators What are generators in PHP and what is the yield keyword?
Predefined Exceptions We will see what are the predefined exceptions that have PHP
PHP – Interfaces and predefined Classes Summary of predefined interfaces and some classes
[ADS_A2/]