Posted
Filed under PHP

foreach($my_cnf as $key => $value){

echo "$key= $value"

}

foreach($my_arr as $fruit)

{

echo $fruit;

}
//바로 변수 만들기
 foreach($hconfig as $key=>$value){
  ${$key}=$value;
 }

2012/07/19 10:27 2012/07/19 10:27