최신글 불러오기에서 질문입니다. 정보
최신글 불러오기에서 질문입니다.관련링크
http://테스트주소는 아직없음.
54회 연결
본문
홈페이지내에 무료공익배너를 게제해줄려고 작업중인데요..^^...@
<?if (!$member[mb_id]) {
echo "<table align='center' valign='center' style='border-collapse:collapse;' cellspacing='0' width='99%' height='70'>
<tr>
<td width='2' rowspan='3' bgcolor='#E5E6E0'>
</td>
<td height='2' bgcolor='#E5E6E0'>
</td>
<td width='2' rowspan='3' bgcolor='#E5E6E0'>
</td>
</tr>
<tr>
<td align='center' valign='center'>
<?=latest ('M-mos' ,link_kong, 5,20);?>
무료공익랜덤배너<br>140*64
</td>
</tr>
<tr>
<td height='2' bgcolor='#E5E6E0'>
</td>
</tr>
</table>";
} else {
?>
---------------------------------------------------------------------------------------------------
위에 소스에서 최신글을 불러 볼 요량으로
<?=latest ('M-mos' ,link_kong, 5,20);?> <==이눔을삽입
앴는데요..먹히질않네요..
<? ?>안에
최신글을 불러오려면 어떻게 해야하는지요??..
<?if (!$member[mb_id]) {
echo "<table align='center' valign='center' style='border-collapse:collapse;' cellspacing='0' width='99%' height='70'>
<tr>
<td width='2' rowspan='3' bgcolor='#E5E6E0'>
</td>
<td height='2' bgcolor='#E5E6E0'>
</td>
<td width='2' rowspan='3' bgcolor='#E5E6E0'>
</td>
</tr>
<tr>
<td align='center' valign='center'>
<?=latest ('M-mos' ,link_kong, 5,20);?>
무료공익랜덤배너<br>140*64
</td>
</tr>
<tr>
<td height='2' bgcolor='#E5E6E0'>
</td>
</tr>
</table>";
} else {
?>
---------------------------------------------------------------------------------------------------
위에 소스에서 최신글을 불러 볼 요량으로
<?=latest ('M-mos' ,link_kong, 5,20);?> <==이눔을삽입
앴는데요..먹히질않네요..
<? ?>안에
최신글을 불러오려면 어떻게 해야하는지요??..
댓글 전체
테스트는 안해봤습니다.
<?if (!$member[mb_id]) {
echo "<table align='center' valign='center' style='border-collapse:collapse;' cellspacing='0' width='99%' height='70'>
<tr>
<td width='2' rowspan='3' bgcolor='#E5E6E0'>
</td>
<td height='2' bgcolor='#E5E6E0'>
</td>
<td width='2' rowspan='3' bgcolor='#E5E6E0'>
</td>
</tr>
<tr>
<td align='center' valign='center'>
" . latest ('M-mos' ,link_kong, 5,20) . "
무료공익랜덤배너<br>140*64
</td>
</tr>
<tr>
<td height='2' bgcolor='#E5E6E0'>
</td>
</tr>
</table>";
} else {
?>
<?if (!$member[mb_id]) {
echo "<table align='center' valign='center' style='border-collapse:collapse;' cellspacing='0' width='99%' height='70'>
<tr>
<td width='2' rowspan='3' bgcolor='#E5E6E0'>
</td>
<td height='2' bgcolor='#E5E6E0'>
</td>
<td width='2' rowspan='3' bgcolor='#E5E6E0'>
</td>
</tr>
<tr>
<td align='center' valign='center'>
" . latest ('M-mos' ,link_kong, 5,20) . "
무료공익랜덤배너<br>140*64
</td>
</tr>
<tr>
<td height='2' bgcolor='#E5E6E0'>
</td>
</tr>
</table>";
} else {
?>
원본 : <?=latest ('M-mos' ,link_kong, 5,20);?>
보드명이 link_kong 처럼, '_(언더 바)'가 포함되면,
불러오지 못하는 경우가 있습니다.(php 버전 및 서버환경에 따름)
수정 : <?=latest ('M-mos' ,'link_kong', 5,20);?>
보드명이 link_kong 처럼, '_(언더 바)'가 포함되면,
불러오지 못하는 경우가 있습니다.(php 버전 및 서버환경에 따름)
수정 : <?=latest ('M-mos' ,'link_kong', 5,20);?>
g6man님 맞습니다..덕분에 해결했습니다.
도움주신 나스카님도 감사드립니다..
당췌 안해본것을 하려니..^^;;...@
다시한번 두분 고맙습니다.
도움주신 나스카님도 감사드립니다..
당췌 안해본것을 하려니..^^;;...@
다시한번 두분 고맙습니다.