<?php function hello($arr){ if (is_Array($arr)){ foreach($arr as $name){ echo "Hello, $name how its going "; } } else { echo "Hello My Friends"; } } $names = array('Nina','Tal','Alexandra','Sofia'); hello($names); ?>
You have javascript disabled. You will not be able to edit any code.