첨부파일이 없을때

첨부파일이 없을때

QA

첨부파일이 없을때

답변 1

본문

   <?
        // 파일 출력
        for ($i=0; $i<=count($view[file]); $i++) {
            if ($view[file][$i][view])
                echo $view[file][$i][view] . "<p>";
        }
        ?>
 
첨부파일이 있었다가
 
   @unlink("$g4[path]/data/file/$bo_table/$row2[bf_file]");
   @unlink("$g4[path]/data/file/$bo_table/thumb/$write[wr_id]"); //썸네일 삭제
   @unlink("$g4[path]/data/file/$bo_table/latest_thumb/$write[wr_id]"); //최근게시물 썸네일 삭제
 
업데이트로 사용하니 엑박이 뜨더라구요
 
엑박말고 noimage를 활용할 방법은 없을까요? ㅠㅠ
 
$img = "<img src='{$board_skin_path}/img/noimage.gif' width={$img_width} height={$img_height} style='border:3px solid #eee;' title='noimage'>";//이미지가 없으면
 
이걸 활용하고 싶은데요 ㅠㅠ

이 질문에 댓글 쓰기 :

답변을 작성하시기 전에 로그인 해주세요.
QA 내용 검색
질문등록
전체 38
© SIRSOFT
현재 페이지 제일 처음으로