배열 차이점이 무엇일까요??
본문
$url_path = explode("/",$url_path);
$_SKU = $url_path[count($url_path)-1];
와
$sku_dom = explode("/",$_URL);
$_SKU=end($sku_dom);
앞에게 더 좋은 이유가 어떤점에서 좋은지 아시는분 계시나요??
답변을 작성하시기 전에 로그인 해주세요.