묻고답하기
page_full_width" class="col-xs-12" |cond="$__Context->page_full_width">
MSN상태표시하는 걸 넣으니까 이런 오류 메세지가..
2003.05.11 15:32
<? include ("friends.php") ?>
<br><table width=705 height=346 cellpadding=0 cellspacing=0 align=center>
<tr>
<td width=705 height=9 colspan=3><img src='<?=$img?>corumguide_main_top.gif' width=705 height=9 border=0 align=absmiddle></td>
</tr>
<tr>
<td width=9 height=324 background='<?=$img?>corumguide_main_leftline.gif'></td>
<td width=684 height=324>
<table width=684 cellpadding=0 cellspacing=0>
<?
디비 연결
$tablename=member_list;
$query="select * from $tablename order by position desc";
$result=mysql_query($query) or die (mysql_error());
while($array=mysql_fetch_array($result)){
echo"<tr>
<td rowspan=3 width=129 height=80 align=center>";
if($array[charac]==1){
echo"<img src='+ '+ 'member_list/member_01.gif' width=125 height=76 border=0 align=absmiddle></td>";
}
if($array[charac]==2){
echo"<img src='member_list/member_02.gif' width=125 height=76 border=0 align=absmiddle></td>";
}
if($array[charac]==3){
echo"<img src='member_list/member_03.gif' width=125 height=76 border=0 align=absmiddle></td>";
}
if($array[charac]==4){
echo"<img src='member_list/member_04.gif' width=125 height=76 border=0 align=absmiddle></td>";
}
if($array[charac]==5){
echo"<img src='member_list/member_05.gif' width=125 height=76 border=0 align=absmiddle></td>";
}
echo"<td rowspan=3 width=6 bgcolor=e0e0e0></td>
<td width=509 height=27> <b>아이디</b> : $array[nickname] │ <b>소속</b> : $array[position] │ <b>레벨</b> : $array[level] │</td>
<td rowspan=3 width=1 bgcolor=aaaaaa></td>
<td width=37 height=27 bgcolor=fff7f7 align=center><a href=javascript:void(window.open('+ 'member_list/modify.html?number=$array[no]','FIRENDs','width=800,height=600,left=110,top=50,scrollbars=no,resizable=yes')) onfocus='this.blur()'>수정</a></td>
</tr>
<tr>
<td width=509 height=27> <b>나이</b> : $array[age] │ <img src="http://navyism.com/msn/msn.php?msn_id=dirtyschool@hotmail.com"><b>MSN</b> : $array[msn] │</td>
<td width=37 height=27 bgcolor=fff7f7 align=center><a href=javascript:void(window.open('member_list/delete.html?number=$array[no]','FIRENDs','width=800,height=600,left=110,top=50,scrollbars=no,resizable=yes')) onfocus='this.blur()'>삭제</a></td>
</tr>
<tr>
<td width=509 height=26> <b>관리</b> : $array[board]</td>
<td width=37 height=26 bgcolor=fff7f7 align=center>위로</td>
</tr>
<tr>
<td colspan=5 width=684 height=1 bgcolor=707070></td>
</tr>";}
?>
</table>
</td>
<td width=12 height=324 background='<?=$img?>corumguide_main_rightline.gif'></td>
</tr>
<tr>
<td width=705 height=13 colspan=3><img src='<?=$img?>corumguide_main_bottom.gif' width=705 height=13 border=0 align=absmiddle></td>
</tr>
</table><br>
<? include ("foot.php") ?>
위에 소스에서요. 밑에 있는 태그를 넣었거든요.
<img src="http://navyism.com/msn/msn.php?msn_id=dirtyschool@hotmail.com">
그냥 빈 페이지에서 실행하면 잘되는데 위에만 넣으면,
Parse error: parse error, expecting `','' or `';''
in /home1/dirtyschool/public_html/friends/member.html on line 43
이런 메세지가 나와서요. 잘못된 곳좀 가르쳐주세요 (__)
<br><table width=705 height=346 cellpadding=0 cellspacing=0 align=center>
<tr>
<td width=705 height=9 colspan=3><img src='<?=$img?>corumguide_main_top.gif' width=705 height=9 border=0 align=absmiddle></td>
</tr>
<tr>
<td width=9 height=324 background='<?=$img?>corumguide_main_leftline.gif'></td>
<td width=684 height=324>
<table width=684 cellpadding=0 cellspacing=0>
<?
디비 연결
$tablename=member_list;
$query="select * from $tablename order by position desc";
$result=mysql_query($query) or die (mysql_error());
while($array=mysql_fetch_array($result)){
echo"<tr>
<td rowspan=3 width=129 height=80 align=center>";
if($array[charac]==1){
echo"<img src='+ '+ 'member_list/member_01.gif' width=125 height=76 border=0 align=absmiddle></td>";
}
if($array[charac]==2){
echo"<img src='member_list/member_02.gif' width=125 height=76 border=0 align=absmiddle></td>";
}
if($array[charac]==3){
echo"<img src='member_list/member_03.gif' width=125 height=76 border=0 align=absmiddle></td>";
}
if($array[charac]==4){
echo"<img src='member_list/member_04.gif' width=125 height=76 border=0 align=absmiddle></td>";
}
if($array[charac]==5){
echo"<img src='member_list/member_05.gif' width=125 height=76 border=0 align=absmiddle></td>";
}
echo"<td rowspan=3 width=6 bgcolor=e0e0e0></td>
<td width=509 height=27> <b>아이디</b> : $array[nickname] │ <b>소속</b> : $array[position] │ <b>레벨</b> : $array[level] │</td>
<td rowspan=3 width=1 bgcolor=aaaaaa></td>
<td width=37 height=27 bgcolor=fff7f7 align=center><a href=javascript:void(window.open('+ 'member_list/modify.html?number=$array[no]','FIRENDs','width=800,height=600,left=110,top=50,scrollbars=no,resizable=yes')) onfocus='this.blur()'>수정</a></td>
</tr>
<tr>
<td width=509 height=27> <b>나이</b> : $array[age] │ <img src="http://navyism.com/msn/msn.php?msn_id=dirtyschool@hotmail.com"><b>MSN</b> : $array[msn] │</td>
<td width=37 height=27 bgcolor=fff7f7 align=center><a href=javascript:void(window.open('member_list/delete.html?number=$array[no]','FIRENDs','width=800,height=600,left=110,top=50,scrollbars=no,resizable=yes')) onfocus='this.blur()'>삭제</a></td>
</tr>
<tr>
<td width=509 height=26> <b>관리</b> : $array[board]</td>
<td width=37 height=26 bgcolor=fff7f7 align=center>위로</td>
</tr>
<tr>
<td colspan=5 width=684 height=1 bgcolor=707070></td>
</tr>";}
?>
</table>
</td>
<td width=12 height=324 background='<?=$img?>corumguide_main_rightline.gif'></td>
</tr>
<tr>
<td width=705 height=13 colspan=3><img src='<?=$img?>corumguide_main_bottom.gif' width=705 height=13 border=0 align=absmiddle></td>
</tr>
</table><br>
<? include ("foot.php") ?>
위에 소스에서요. 밑에 있는 태그를 넣었거든요.
<img src="http://navyism.com/msn/msn.php?msn_id=dirtyschool@hotmail.com">
그냥 빈 페이지에서 실행하면 잘되는데 위에만 넣으면,
Parse error: parse error, expecting `','' or `';''
in /home1/dirtyschool/public_html/friends/member.html on line 43
이런 메세지가 나와서요. 잘못된 곳좀 가르쳐주세요 (__)
댓글 3
-
TheMics
2003.05.11 15:38
-
튀는아이
2003.05.11 18:06
헛.. 해결됐어요. 감사해요^^ -
鍾烈
2003.05.12 16:08
아니면 " 요거 앞에 \ 이놈을 붙여주시던지요 ^^;
<img src='http://navyism.com/msn/msn.php?msn_id=dirtyschool@hotmail.com'>로 바꿔주세요.