변수안에 최신글을 넣으려고하는데요...

· 17년 전 · 740 · 5
<?
$m206="<td align=\"left\" valign=\"top\"><table width=\"577\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td><img src=\"/images/main/mainpromotion.jpg\" width=\"577\" height=\"333\" /></td>
</tr>
<tr>
<td height=\"21\"></td>
</tr>
<tr>
<td><table width=\"577\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr><td><table width=\"217\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td width=\"217\"><img src=\"/images/main/workprocess.jpg\" width=\"217\" height=\"17\" /></td></tr>
<tr><td width=\"217\" height=\"93\"><?=latest(\"basic\",\"m105\",4,52);?></td></tr></table>
<td><table width=\"217\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td width=\"217\"><img src=\"/images/main/board.jpg\" width=\"217\" height=\"17\" /></td></tr>
<tr><td width=\"217\" height=\"93\"><?=latest(\"basic\",\"m105\",4,52);?></td></tr></table>
<td><img src=\"/images/main/location.jpg\" width=\"144\" height=\"110\" /></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table>";

?>

요런식으로 변수안에 latest를 써서 뿌려줄려고 하는데요. 잘 먹히질 않네요.

변수안에서 latest 사용 할 수 있는 방법을 알고 싶습니다.
|

댓글 5개

완전 모르겠습니다.

도와주세요....3시간째 ㅠ.ㅠ

latest를 변수처리해서 변수안에 넣으니깐 나오질 않아요. 소스보기하면 <?=latest?> 이런식으로 <?까지 다보이구여...

부탁드립니다.
eval( $m206);
하면 어떻게 되나요?
차라리 ob_start() 함수를 찾아 보세요.

lib/latest.lib.php 참고하시면 사용법을 아실 수 있을 겁니다.
네. 찾아보겠습니다. 답변 감사드립니다.
댓글을 작성하시려면 로그인이 필요합니다.

그누4 질문답변

그누보드4 관련 질문은 QA 로 이전됩니다. QA 그누보드4 바로가기 기존 게시물은 열람만 가능합니다.

+
제목 글쓴이 날짜 조회
17년 전 조회 989
17년 전 조회 1,545
17년 전 조회 1,481
17년 전 조회 1,100
17년 전 조회 1,669
17년 전 조회 973
17년 전 조회 909
17년 전 조회 786
17년 전 조회 995
17년 전 조회 741
17년 전 조회 799
17년 전 조회 920
17년 전 조회 1,623
17년 전 조회 1,628
17년 전 조회 1,528
17년 전 조회 1,534
17년 전 조회 1,536
17년 전 조회 1,030
17년 전 조회 1,187
17년 전 조회 969