HDTutorial
EN

Playback starts YouTube’s embedded player (privacy-enhanced mode).

How to add elements to arrays in PHP

877 views November 11, 2015 2:43

Watch on YouTube
ChannelMaths Academy

Description from the creator

Visit the website at: mathsacademy.com.au for resources and online courses. Support the channel via Patreon: patreon.com/mathsacademy Enrol in the full course: udemy.com/learn-php-via-examples-and-mini-tasks…
For the full PHP for Beginners course visit: coding.academy/membership

In this lesson I show you how to add elements to arrays in PHP.

We will use the array_unshift() and array_push functions to add the elements to the arrays.

Arrays are extremely useful when programming. You will find that data posted from forms or retrieved from a database will be in array format.

About this tutorial

Maths Academy published this 2:43 video tutorial on November 11, 2015. It has been watched 877 times on YouTube.

Category
Education
Duration
2:43
Published
November 11, 2015
Views
877
Likes
5

Tags

Share

This tutorial in other languages