Through this article I will tell you how you can get specific value from any array through php. So let’s try to understand through example.
Extract specific array value by php, Find Specific array value using php, How to fetch Specific array value using php
The example explains how to put the values of an array in a variable. Then echo its specific value. Below you can understand with the help of example.
<?php $a = array(1=>'a', 2=>'b', 3=>'c'); echo $a; //display the value with key 2: // output b unset($a); //remove the value with key 2 (throw-out / bring-out in your language) print_r($a); //now display whole array to show that value with key 2 is gone // output Array (  => a  => c ) ?>