Answers for "echo array data php"

PHP
1

php echo array

function echo_arr($arr){
        for ($i=0; $i < count($arr); $i++) { 
                echo $arr[$i];
            }
        }

echo_arr($your_array_here);
Posted by: Guest on June-29-2021
1

php echo array

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

Browse Popular Code Answers by Language