[re] 답변늦어죄송합니다... > Forum

본문 바로가기

사이트 내 전체검색

Forum

[re] 답변늦어죄송합니다...

페이지 정보

작성자 규범~* 작성일 03-11-19 21:16 조회 614 댓글 0 제로보드

본문

일단 파일 업로드를 3개가 된다고 하신걸 보니 DB부분을 수정하신 것 같습니다...
write.php파일을 수정하시면 업로드를 3개로 하실 수 있습니다...
메모장으로 여신후에
끝부분에 보시면
                <tr height=1>
                        <td height="1" background="<?=$dir?>/dot.gif" colspan=2></td>
                </tr>
이부분 바로 위에 아래부분을 붙여넣어주세요..

                <tr>
                        <td align=right width=70></td>
                        <td height="1" background="<?=$dir?>/dot.gif"></td>
                </tr>
                <tr height=5>
                        <td colspan=2></td>
                </tr>
                <tr height=25>
                        <td align=right width=70>파일 #3 :</td>
                        <td>  <input type=file name=file3 <?=size(30)?> maxlength=255 class=input> <font class=tahoma><?=$file_name3?></font></td>
                </tr>

                <tr height=25>
                        <td align=right width=70></td>
                        <td>  (설명 #3 : <input type=text name=pic3 value="<?=$pic3?>" <?=size(35)?> maxlength=255 class=input onchange="changeinfo();">)</td>
                </tr>
                <tr height=5>
                        <td colspan=2></td>
                </tr>

그리구 윗부분에서
$main=$gallery_data[0];
$pic1=$gallery_data[1];
$pic2=$gallery_data[2];
이부분을
$main=$gallery_data[0];
$pic1=$gallery_data[1];
$pic2=$gallery_data[2];
$pic3=$gallery_data[3];

function changeinfo() {
document.write.memo.value="";
document.write.memo.value=document.write.main.value+"||"+document.write.pic1.value+"||"+document.write.pic2.value+"||";
}
이부분을
function changeinfo() {
document.write.memo.value="";
document.write.memo.value=document.write.main.value+"||"+document.write.pic1.value+"||"+document.write.pic2.value+"||"+document.write.pic3.value+"||";
}
이렇게 해주세요..

0 Comments

등록된 댓글이 없습니다.

Copyright ⓒ 2003-2024 LOVELET.COM. All rights reserved.
PC 버전으로 보기