스크립트 에러 확인 부탁 합니다 정보
스크립트 에러 확인 부탁 합니다
본문
오류가 나는곳의 주소를 알려주시면 더 빠르고 정확하게 답변 받을 수 있습니다.
오류 주소 : http://iedols.mireene.com/bbs/board.php?bo_table=03_5&sca=제조.기업
<?
$sql = " SELECT * FROM `g4_board` WHERE bo_table = '$bo_table' ORDER BY `bo_category_list` ";
$result = mysql_query($sql);
while ($cat=mysql_fetch_array($result)) {
$cat1 = explode("|", $cat[bo_category_list]);
if ($cat1[0]) { ?>
<table width='120' align=center cellpadding='0' cellspacing='0' border='0'>
<tr height='13'>
<td background='<?=$g4['path']?>/img/t_l.gif' width='13'></td>
<td background='<?=$g4['path']?>/img/t_c.gif'></td>
<td background='<?=$g4['path']?>/img/t_r.gif' width='13'></td>
</tr>
<tr>
<td background='<?=$g4['path']?>/img/c_l.gif' width='13'></td>
<td bgcolor='#ffffff'>
<table width='100%' cellpadding='3' cellspacing='3' border='0'>
<tr><td>
<span style='font-size:4pt;vertical-align:middle;'>▶</span> <A HREF="<?=$g4[bbs_path]?>/board.php?bo_table=<?=$bo_table?>">전체</A>
</td></tr>
<? for ($i=0; $i<count($cat1); $i++) { ?>
<tr><td>
<span style='font-size:4pt;vertical-align:middle;'>▶</span> <A HREF="<?=$g4[bbs_path]?>/board.php?bo_table=<?=$bo_table?>&sca=<?=$cat1[$i]?>"><?=$cat1[$i]?></A>
</td></tr>
<? } ?>
</table>
</td>
<td background='<?=$g4['path']?>/img/c_r.gif' width='13'></td>
</tr>
<tr height='13'>
<td background='<?=$g4['path']?>/img/b_l.gif' width='13'></td>
<td background='<?=$g4['path']?>/img/b_c.gif'></td>
<td background='<?=$g4['path']?>/img/b_r.gif' width='13'></td>
</tr>
</table>
<? } else { ?>
<? } ?>
<? } ?>
오류 주소 : http://iedols.mireene.com/bbs/board.php?bo_table=03_5&sca=제조.기업
<?
$sql = " SELECT * FROM `g4_board` WHERE bo_table = '$bo_table' ORDER BY `bo_category_list` ";
$result = mysql_query($sql);
while ($cat=mysql_fetch_array($result)) {
$cat1 = explode("|", $cat[bo_category_list]);
if ($cat1[0]) { ?>
<table width='120' align=center cellpadding='0' cellspacing='0' border='0'>
<tr height='13'>
<td background='<?=$g4['path']?>/img/t_l.gif' width='13'></td>
<td background='<?=$g4['path']?>/img/t_c.gif'></td>
<td background='<?=$g4['path']?>/img/t_r.gif' width='13'></td>
</tr>
<tr>
<td background='<?=$g4['path']?>/img/c_l.gif' width='13'></td>
<td bgcolor='#ffffff'>
<table width='100%' cellpadding='3' cellspacing='3' border='0'>
<tr><td>
<span style='font-size:4pt;vertical-align:middle;'>▶</span> <A HREF="<?=$g4[bbs_path]?>/board.php?bo_table=<?=$bo_table?>">전체</A>
</td></tr>
<? for ($i=0; $i<count($cat1); $i++) { ?>
<tr><td>
<span style='font-size:4pt;vertical-align:middle;'>▶</span> <A HREF="<?=$g4[bbs_path]?>/board.php?bo_table=<?=$bo_table?>&sca=<?=$cat1[$i]?>"><?=$cat1[$i]?></A>
</td></tr>
<? } ?>
</table>
</td>
<td background='<?=$g4['path']?>/img/c_r.gif' width='13'></td>
</tr>
<tr height='13'>
<td background='<?=$g4['path']?>/img/b_l.gif' width='13'></td>
<td background='<?=$g4['path']?>/img/b_c.gif'></td>
<td background='<?=$g4['path']?>/img/b_r.gif' width='13'></td>
</tr>
</table>
<? } else { ?>
<? } ?>
<? } ?>
댓글 전체
fcategory 폼에 sca 라는 name 값이 없어서 그렇습니다.
해당 자바스크립트를 주석처리해보세요.
해당 자바스크립트를 주석처리해보세요.
감사^^