Answers for "php print array elements in """

PHP
1

php echo array

foreach($results as $result) {
	echo $result . '<br>';
}
Posted by: Guest on April-02-2020
0

php print_r

<pre>
<?php
$a = array ('a' => 'apple', 'b' => 'banana', 'c' => array ('x', 'y', 'z'));
print_r ($a);
?>
</pre>
Posted by: Guest on November-21-2020

Browse Popular Code Answers by Language