Answers for "how to show only array values php"

PHP
1

php echo array

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

php echo array

<?php
$cars = array("Volvo", "BMW", "Toyota");
echo "I like " . $cars[0] . ", " . $cars[1] . " and " . $cars[2] . ".";
?>
Posted by: Guest on April-02-2020

Code answers related to "how to show only array values php"

Browse Popular Code Answers by Language