Answers for "index array to associative php"

PHP
0

php transform associative array to array

$array = array_values($array);
Posted by: Guest on June-14-2020
0

php associative array

<?php
$arr = array('fruit' => 'mango', 'vegetable' => 'tomato', 'thing' => 'bag');
echo $arr['fruit'];
/*OUTPUT
mango*/
?>
Posted by: Guest on April-24-2021

Code answers related to "index array to associative php"

Browse Popular Code Answers by Language