In this video we will shortly consider array sorting in php. Array sorting is very important. In php there are a lot of functions for sorting arrays. They satisfy all needs for sorting (sorting arrays by asc or desc order, keys sorting) Also we will write little code,...
Tutorials
PHP loops
In this lesson we will consider basics of php again, namely loops in php. A lot of this you have already known from appropriate lesson in javascript. We will consider for, while, do...while loops I remember, loops reduce repeating code. In real projects loops use in...
PHP. Conditional Operators
Today we will consider conditional operators if, if...else, if...elseif...else. A lot of this you may know from javascript. If..else also has got short syntax. Also we'll try to use switch, which replaces a lot of if.else entities....
PHP. Passing by reference
In this lesson we will discuss value of variables by reference (hard and symbolic links), and data types in php. I will write code in netbeans ide (integrated development environment). I recommend you to install this application. It s free and easy to install. Before...
PHP. Hosting. Variables. Print data.
In last lesson we began learning php. In this lesson we'll talk about variables, how to declare variables in php. But first of all I'll talk about hosting. Hosting is the service of getting you the place in the server. Modern hosting services includes availability of...
Intro to php. Install local environment
In last lessons we were learning frontend. But web site is not only design. We do different actions in sites - search, filter data and so on. This actions are made with programming (backend). This part is hidden for the site visitors. It is realized by backend...
MySQL. Links between tables. JOIN operator
In last lesson we created "sport" database and added three tables (countries, sports and teams). Furthermore we created links between tables with foreign keys. But we didn't take into consideration one problem - how we can to delete or update data in these tables. In...
MySQL. Links between tables. Foreign keys
In this lesson we will consider links between tables, types these links and foreign keys. Links between tables need for quickly getting data. Let's imagine, you are in the shop and would like to buy fruits. If all fruits will be in one box you will need more time to...
API VKontakte. Get access token
In this lesson we will finish introductory series of lessons with api VKontakte work. We'll consider necessity and getting access token procedure. While api making requests some methods return only public data. For example, users.get method returns only first_name,...