PHP basics

  • 4 chapters
  • 59 tasks
We will learn how to embed PHP code in the page markup and work with web scripts, data, and addresses. Let’s learn more about PHP syntax. We use conditions, arrays, loops, and other basic statements to program the online store.

Our authors are brave enough to experiment with new technologies for this course.

Therefore, we recommend using the latest version of one of the following browsers: Chrome, Yandex Browser, Firefox, Opera, Edge or Safari Technology Preview while taking this course.

Start course
PHP basics course

Theory

Tasks and challenges required for taking the course.

4 chapters 59 tasks

0/14

14 tasks

Learn how to use conditions in scripts and templates. We will learn about comparison operations and logical operators. Let's finish the pages for our online store.

Start
0/15

15 tasks

We will explore what arrays and loops are and find out why they work great together. You will work with different arrays and loops in the context of the pages of an online store. And you will also add product filtering functionality and solve a couple of additional problems.

Start
0/16

16 tasks

Learn how to create your own functions and use the built-in ones. We will explore how to use functions to sort, filter, copy, and shuffle arrays. We will finish the shipping status page and display random product listings on the main page of our store.

Start
0/14

14 tasks

Let's learn how to work with numbers and strings in PHP, and we will introduce you to the for loop and the ternary operator. We will figure out how to create pagination and display the date on the page in a complex format.

Start

Final challenges will be available soon!

We are using cookies to gather information which will help you use our website most effectively. You can read about this here or disable this feature if you want. By continuing to browse the site, you agree to our use of cookies.