랜덤으로 불러오는 소스 정보
랜덤으로 불러오는 소스본문
<?=latest('index_gallery')?>
위에 소스로 최신글을 불러오는데
<?=latest('index_gallery')?> 이나 <?=latest('index_gallery111')?> 을 랜덤으로 불러오게 하려면 어떻게 해야하나요 답변부탁드립니다.
위에 소스로 최신글을 불러오는데
<?=latest('index_gallery')?> 이나 <?=latest('index_gallery111')?> 을 랜덤으로 불러오게 하려면 어떻게 해야하나요 답변부탁드립니다.
댓글 전체
<?=rand(0,1) ? latest('index_gallery') : latest('index_gallery111');?>