PHP 7 Tutorials

This is a PHP 7 tutorial series for beginners to advanced programmers. I teach you the basics of installing a web server up to arrays, loops, and the beauty of object-orinented programming.

Videos: 24 Time: 4 hours, 4 minutes Updated: 06-08-2018 Rating: Unrated Completion: 0%
  • PHP 7: How to install XAMPP | Tutorial Nr. 1

    PHP 7: How to install XAMPP | Tutorial Nr. 1

    01-23-2018 / 10 minutes, 33 seconds
    XAMPP is a free and open source cross-platform web server solution stack package developed by Apache Friends, consisting mainly of the Apache HTTP Server, MariaDB database, and interpreters for scripts written in the PHP and Perl programming languages. XA...
  • PHP 7 Tutorial series | Welcome future web developers

    PHP 7 Tutorial series | Welcome future web developers

    01-28-2018 / 2 minutes, 23 seconds
    Welcome to your free PHP 7 beginner's tutorial. I wish you the best on your web developer journey and if you have any questions or feedback, just let me know. Enjoy this free course and learn consistently on your path to being a programmer/developer. PHP ...
  • PHP 7: How to declare a variable | Tutorial Nr. 2

    PHP 7: How to declare a variable | Tutorial Nr. 2

    01-29-2018 / 10 minutes, 11 seconds
    In this tutorial you will learn how to declare a variable in PHP and how type juggling works. In the end you will do a little exercise that helps you understand the concepts and also makes you practice the concepts. I hope this is helpful for you. PHP is ...
  • PHP 7: What are operators? | Tutorial Nr. 3

    PHP 7: What are operators? | Tutorial Nr. 3

    01-29-2018 / 9 minutes, 42 seconds
    PHP is a server-side scripting language designed primarily for web development but also used as a general-purpose programming language. Originally created by Rasmus Lerdorf in 1994, PHP originally stood for Personal Home Page, but it now stands for the PH...
  • PHP 7: How to use the if-condition | Tutorial Nr. 4

    PHP 7: How to use the if-condition | Tutorial Nr. 4

    01-29-2018 / 8 minutes, 5 seconds
    In this tutorial we will talk about the if...else condition which is a highly important concept in any programming language and can be used very often. If checks for a condition and if it returns true, the statement gets executed, otherwise it is ignored....
  • PHP 7: How to create a PHP form | Tutorial Nr. 5

    PHP 7: How to create a PHP form | Tutorial Nr. 5

    01-29-2018 / 10 minutes, 10 seconds
    Enough with the basics, here we will implement a PHP statement into HTML and see what this beautiful language can do. After all this is the reason why you want to learn PHP right, let's get started. PHP is a server-side scripting language designed primari...
  • PHP 7: How to use comparison operators | Tutorial Nr. 6

    PHP 7: How to use comparison operators | Tutorial Nr. 6

    01-30-2018 / 10 minutes, 47 seconds
    Now we dive into comparison operators in PHP 7. This is important to know so you do not fall into the traps of the language. With this knowledge you can do more interesting things with if conditions. PHP is a server-side scripting language designed primar...
  • PHP 7: Ternary ans spaceship operators | Tutorial Nr. 7

    PHP 7: Ternary ans spaceship operators | Tutorial Nr. 7

    01-31-2018 / 7 minutes, 39 seconds
    In this tutorial we will talk about ternary operators and the spaceship operator. Some interesting things in PHP that help you write shorter and cleaner code. They are short for if statements and help you write less code. PHP is a server-side scripting la...
  • PHP 7: How to use switch case | Tutorial Nr. 8

    PHP 7: How to use switch case | Tutorial Nr. 8

    02-01-2018 / 8 minutes, 51 seconds
    Instead of using multiple if-statements you might as well use a switch case-statement. It's highly readable and convenient for some cases. Enjoy. PHP is a server-side scripting language designed primarily for web development but also used as a general-pur...
  • PHP 7: While and do while loops | Tutorial Nr. 9

    PHP 7: While and do while loops | Tutorial Nr. 9

    02-02-2018 / 10 minutes, 22 seconds
    In this tutorial we will talk about the while statement. The meaning of a while statement is simple. It tells PHP to execute the nested statement(s) repeatedly, as long as the while expression evaluates to TRUE. The value of the expression is checked each...
  • PHP 7: The for loop | Tutorial Nr. 10

    PHP 7: The for loop | Tutorial Nr. 10

    02-03-2018 / 11 minutes, 6 seconds
    In this PHP 7 tutorial we will talk about the for loop and how flexible it is. It is very useful to iterate and when you know how many times you want to iterate through something. PHP is a server-side scripting language designed primarily for web developm...
  • PHP 7: How to create arrays | Tutorial Nr. 11

    PHP 7: How to create arrays | Tutorial Nr. 11

    02-04-2018 / 10 minutes, 40 seconds
    Now we start creating indexed arrays. This is huge topic and you can use arrays in so many ways. Enjoy and feedback is always welcome. PHP is a server-side scripting language designed primarily for web development but also used as a general-purpose progra...
  • PHP 7: How to manipulate arrays | Tutorial Nr. 12

    PHP 7: How to manipulate arrays | Tutorial Nr. 12

    02-04-2018 / 9 minutes, 38 seconds
    In this tutorial we will manipulate arrays with array_push, array_pop, array_unshift and array_shift. Four very useful functions. And also I show you how to create an associative array. PHP is a server-side scripting language designed primarily for web de...
  • PHP 7: How to loop through arrays | Tutorial Nr. 13

    PHP 7: How to loop through arrays | Tutorial Nr. 13

    02-06-2018 / 11 minutes, 18 seconds
    In this tutorial we will talk about how to loop through arrays in PHP 7. There is the for loop, that has a general purpose and theree are two version of the foreach loop that specificly help you to iterate through arrays. PHP is a server-side scripting ...
  • PHP 7: How to declare constants | Tutorial Nr. 15

    PHP 7: How to declare constants | Tutorial Nr. 15

    02-08-2018 / 5 minutes, 39 seconds
    By declaring constants in PHP with the keyword "define", you create variable-like values that cannot be changed. This is a security enforcement for database connections for example. Naming rules are the same as for variables: do not start with a...
  • PHP 7: What are MAGIC CONSTANTS? | Tutorial Nr. 16

    PHP 7: What are MAGIC CONSTANTS? | Tutorial Nr. 16

    02-08-2018 / 11 minutes, 52 seconds
    Magic constants are predefined constants with which you can print some info about the working directory and files for example. They follow the principle CONSTANT. PHP is a server-side scripting language designed primarily for web development but also used...
  • PHP 7: How to use namespaces | Tutorial Nr. 17

    PHP 7: How to use namespaces | Tutorial Nr. 17

    02-10-2018 / 9 minutes, 40 seconds
    A namespace is like a pointer to a file path where you can find the source of the function you are working with. Use namespaces to keep your function name separate from anyone else's function name, and you won't have to make extra_long_named functions to ...
  • PHP 7: Array search/sort functions | Tutorial Nr. 14

    PHP 7: Array search/sort functions | Tutorial Nr. 14

    02-11-2018 / 13 minutes, 23 seconds
    Now we will search for keys or values in an array. Then we will sort it, in reverse, sort it by key, by value etc. Be prepared for some knowledge about arrays! PHP is a server-side scripting language designed primarily for web development but also used as...
  • PHP 7: How to create a function and use it | Tutorial Nr. 18

    PHP 7: How to create a function and use it | Tutorial Nr. 18

    02-13-2018 / 10 minutes, 17 seconds
    No we will create a function, call it and pass several arguments to it. With functions you can create code-snippets that improve your programming performance. PHP is a server-side scripting language designed primarily for web development but also used as ...
  • PHP 7: Global vs local scope | Tutorial Nr. 19

    PHP 7: Global vs local scope | Tutorial Nr. 19

    02-13-2018 / 14 minutes, 48 seconds
    In this tutorial we will talk about local and glonal scope and what it has to do with functions. You will also learn what the "global" and "static" keywords are since they are an important factor as well. PHP is a server-side scripting...
  • PHP 7: The splat operator | Tutorial Nr. 20

    PHP 7: The splat operator | Tutorial Nr. 20

    02-18-2018 / 5 minutes, 59 seconds
    The splat operator is another handy addition to your functions in PHP. In this tutorial you will see what it does and how. PHP is a server-side scripting language designed primarily for web development but also used as a general-purpose programming langua...
  • PHP 7: How to connect to a database & insert data with an HTML form | Tutorial No. 21

    PHP 7: How to connect to a database & insert data with an HTML form | Tutorial No. 21

    02-19-2018 / 17 minutes, 51 seconds
    Today we will create a mysql database, connect to this database and insert data from an html form into it with the help of PHP. PHP is a server-side scripting language designed primarily for web development but also used as a general-purpose programming l...
  • PHP 7: How to prevent cross-site scripting | Tutorial No. 22

    PHP 7: How to prevent cross-site scripting | Tutorial No. 22

    03-30-2018 / 10 minutes, 25 seconds
    LINKEDIN: https://www.linkedin.com/in/philipp-mertgen-758513153/ PORTFOLIO: http://phil-mertgen.com/ GITHUB: https://github.com/Pmertgen Today we will learn something about cross-site scripting. We will evaluate what it is and how it can manipulate user i...
  • PHP 7: How to read and write files with PHP | Tutorial No. 24

    PHP 7: How to read and write files with PHP | Tutorial No. 24

    06-08-2018 / 13 minutes, 20 seconds
    In this tutorial we will learn how to read text from files with PHP. Also we will write text into files and handle csv-files. The following functions will be part of this series: fopen(), fclose(), fwrite() and fread() fgetcsv() and fputcsv(). LINKEDIN: h...
PHP 7: How to install XAMPP | Tutorial Nr. 1
PHP 7: How to declare a variable | Tutorial Nr. 2
PHP 7: What are operators? | Tutorial Nr. 3
PHP 7: How to create a PHP form | Tutorial Nr. 5
PHP 7: How to use switch case | Tutorial Nr. 8
PHP 7: While and do while loops | Tutorial Nr. 9
PHP 7: The for loop | Tutorial Nr. 10
PHP 7: How to create arrays | Tutorial Nr. 11
PHP 7: How to manipulate arrays | Tutorial Nr. 12
PHP 7: How to loop through arrays | Tutorial Nr. 13
PHP 7: How to declare constants | Tutorial Nr. 15
PHP 7: What are MAGIC CONSTANTS? | Tutorial Nr. 16
PHP 7: How to use namespaces | Tutorial Nr. 17
PHP 7: Global vs local scope | Tutorial Nr. 19
PHP 7: The splat operator | Tutorial Nr. 20