묻고답하기
page_full_width" class="col-xs-12" |cond="$__Context->page_full_width">
MYSQL 구문에 문제가 있는 것 같습니다..ㅠㅠ
2012.08.15 23:31
<?
$connect = mysql_connect("localhost", "root", "psww");
mysql_select_db("xe");
mysql_query("set names utf8");
$result=mysql_query("select * from xe_documents where document_srl = $document_srl" ) or die(mysql_error());
$i=0;
while($data=mysql_fetch_array($result))
{
$result_text2=mysql_query("select * from xe_files where upload_target_srl = $data[document_srl] order by source_filename asc ") or die(mysql_error());
while( $data5=mysql_fetch_array($result_text2))
{$b_img[$i] = "".$data5[uploaded_filename];
$b_name[$i] = $data5[source_filename];
?>
<?if($data[module_srl] == 377){?>
<div class="slide" >
<img src="<?=$data5[uploaded_filename]?>" width="860">
</div>
<? } else { ?>
<?if(substr($b_name[$i],0,8)=='content_' || substr($b_name[$i],0,4)=='tmb_'){?>
<?}else{?>
<div class="slide" >
<img src="<?=$data5[uploaded_filename]?>" width="960">
</div>
<? } ?>
<? } ?>
<? $i++;
}
?>
<? } ?>
이 소스를 확인하면 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1 이렇게 나오는데 ㅠㅠ 이유가 대체..
mysql은 5.14인것 같은데 ㅠㅠ
댓글 0
글쓴이 | 제목 | 최종 글 |
---|---|---|
XE | 공지 글 쓰기,삭제 운영방식 변경 공지 [16] | 2019.03.05 by 남기남 |
장낙중 |
0.2.9 (수정#3) 파일첨부 에러문제
[4]
![]() | 2008.06.07 by alicialee |
이원형729 | DB 응답이 느리답니다. | |
김선근 | 댓글 있는 글 열람 불가에 관해서 [2] | 2008.06.07 by 김선근 |
탑심 | 스크롤바 항상 생기게... | |
김형석549 | mysql 5에서 mysql 4를 사용중인 서버로 이전하는데 회원정보 중 암호처리가 안됩니다. [1] | 2008.06.07 by 老姜君 |
유우타 |
zbxe 기본스킨 목록 갤러리로 볼때 썸네일 중앙정렬..
[2]
![]() | 2008.06.07 by 유우타 |
김경준514 | 급질 입니다. 고수님들 답변 부탁요~ [5] | 2008.06.07 by 백성찬 |
건즈 | 페이지 편집 결과가 ie랑 ff에 따라 너무 달라요. [2] | 2008.06.07 by 건즈 |
건즈 | 쪽지가 와도 띵똥거리지 않아요.. [5] [1] | 2008.06.08 by 건즈 |
이가우 | 회원관리, 홈페이지주소 검색항목 추가 문의 | |
Darkghost |
table-layout:fixed 문제(게시판)
![]() | |
끙까 | 갑자기 로그인이 안되서 답답해요ㅜㅜ 도와주세요~ | |
이형구704 | 레이아웃 좌측 (로그인창 들어가는곳) 공간 크기변경 방법 문의 [1] | 2008.06.07 by 탑심 |
그루비스트 | 제로보드xe 게시판만 사용가능한가요?? [1] | 2008.06.07 by 띵야 |
bes | 신청서 만들기 응용 확장 [2] | 2008.06.08 by bes |
진선님앙 | putty할때 질문 이 있어요ㅠㅠ [1] | 2008.06.08 by 백성찬 |
써니 | 첨부된 이미지파일을 특정위치에 출력하는 법을.... [2] | 2008.06.08 by 써니~** |
BOGO | 게시판 이미지 리사이즈 않되는 이유. [2] | 2008.06.08 by BOGO |
산사람 | 업그레이드 [1] | 2008.06.08 by 구체적 |
지우개님 | 왼쪽에 서브 메뉴 나오 잖아여.. 어떻게 설정 하죠 [3] | 2008.06.08 by 띵야 |