how to print array phhp code example
Example 1: print array on php
foreach($results['data'] as $result) {
echo $result['type'], '<br>';
}
Example 2: php echo array
<?php
$cars = array("Volvo", "BMW", "Toyota");
echo "I like " . $cars[0] . ", " . $cars[1] . " and " . $cars[2] . ".";
?>