46: Insert data into array in PHP - PHP tutorial

preview_player
Показать описание
Insert data into array in PHP - Learn PHP backend programming. Today we will learn how to insert data into arrays that are either empty or already has data in them.

➤ GET ACCESS TO MY LESSON MATERIAL HERE!

First of all, thank you for all the support you have given me!

I am really glad to have such an awesome community on my channel. It motivates me to continue creating and uploading content! So thank you!

I am now using Patreon to share improved and updated lesson material, and for a small fee you can access all the material. I have worked hard, and done my best to help you understand what I teach.

I hope you will find it helpful :)

Рекомендации по теме
Комментарии
Автор

thanks you are one of my great teacher

mortezaaboudi
Автор

Very instructive! Thank you very much! Greetings from Brazil. :)

JohanBento
Автор

Thanks for continueing with this serie! #mmtutsforpresident

JerrOoenn
Автор

Hello nice tuts. I HAVE A QUESTION. Related to array, can you explain why we put html input checkbox name= "checkbox [ ] " . How those brackets as key can turn into value in an array? I dont get it. Thanks pal you awesome.

paulklimenko
Автор

Thank you Sir!! you helped me with looping elements into an empty array using the array_push THANKS ALOT!

royaleditaudios
Автор

thanks for that highlight thier but have one qn : how do i get to insert into another array like $emparray['movies'][] = array( "casts" => array())

codeaxen
Автор

great tuts, thnks....i want to ask you something.i get done most of the free php tutorials from youtube and all finish in some way at the same next?what should we work on to go the php a level further?

mixalhsspan
Автор

why lesson 44 is private!!! I cant see the lesson

AboSara
Автор

Sir do u have any idea about phparc2 library

d.dheeraj
Автор

is there a way to make it neater like not Array or => or [0]?

Spirittism
Автор

Is it required to use empty array and why we use them, I can't understand the way to use empty array $array = [] ?

phptuts
Автор

Hi Daniel, I'm new to your channel and I think you are the best teacher around here. I'm recently working on a website for my school project and your tutorials are indeed helping a lot. Working on my website with JavaScript I steped on a problem for which I did not find any explenation to solve. I basically want to be able to click on a link which than sets an image without reloading the page. If I just click a link with an onclick event the image shows of on a blanc website. I really hope you can help me on this.

pasqualedivincenzo
Автор

hi, i'm stuck on how to insert the array data (derived from COUNTing how many times a word apoear in the column). The code below displays the result, but i need also to insert each data into a table i created. What to do?
$query = "SELECT *, COUNT(jobtitle) FROM workers WHERE ....
$result = mysqli_query($con, query) or die...
$row = mysqli_fetch_array($result, MYSQLI_BOTH);...
<?echo
It displays the total hired Mason by Employer1, total hired Carpenter by Employer2, total hired Carpenter by Employer1, etc. But how to put this info to a table? Please advice. Thanks

mnunez
Автор

I am trying to insert my <select name="subscriptionplan1"> into the database but for some reason, it won't insert it.

pianoLee-sxdx
Автор

thanks mmtustsfor this great tutorial #mistacode250

mistacodeTV