Tuesday, 1 May 2018

Remove value from array In PHP

I have an array like:



$array=[1,4,15,8,3,7,15];



I get values from DB, so I want to remove "8" value from this array but arrays has undefined index. How can I do this ?

No comments:

Post a Comment

casting - Why wasn't Tobey Maguire in The Amazing Spider-Man? - Movies & TV

In the Spider-Man franchise, Tobey Maguire is an outstanding performer as a Spider-Man and also reprised his role in the sequels Spider-Man...