Answers for "how to print array items in php with a prefix"

PHP
1

php echo array

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

php echo array

$a = array ('a' => 'apple', 'b' => 'banana', 'c' => array ('x', 'y', 'z'));
print_r ($a);
Posted by: Guest on October-08-2020

Code answers related to "how to print array items in php with a prefix"

Browse Popular Code Answers by Language