[php]foreach 특정횟수 반복. 길이 조절하기 $x=array("Seb","Ginna","Shane","Guy","Jackie","Frances","John","Alec","Jon","Sam","Chris","Paula"); $i=0; foreach($x as $value){ if($i 취업/PHP 2021.06.16