how to echo an array inside an echo in php code example
Example 1: php echo arry
echo json_encode($anArray);
Example 2: php echo array
foreach($results as $result) {
echo $result . '<br>';
}
echo json_encode($anArray);
foreach($results as $result) {
echo $result . '<br>';
}