The array_values() function returns the array containing all the values of an array
syntaxarray_values(array)
<?php $sum=array(0=>"apple",1=>"orange",2=>"pine apple"); // returns the array containing all the values of an array print_r($array); ?> |
Array(0=>apple
1=>orange
2=>pine apple)
0 comments:
Post a Comment