모

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

· 2008-05-13 (화) 16:11:24 · 797 · 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 관련 질문은 QA 로 이전됩니다. QA 그누보드4 바로가기 기존 게시물은 열람만 가능합니다.

+
제목 글쓴이 날짜 조회
08-05-14 조회 1,034
08-05-14 조회 3,702
08-05-14 조회 1,618
08-05-14 조회 1,659
08-05-14 조회 825
08-05-14 조회 997
08-05-14 조회 994
08-05-14 조회 846
08-05-13 조회 1,586
08-05-13 조회 1,745
08-05-13 조회 1,044
08-05-13 조회 1,600
08-05-13 조회 1,537
08-05-13 조회 1,157
08-05-13 조회 1,948
08-05-13 조회 1,040
08-05-13 조회 972
08-05-13 조회 851
08-05-13 조회 1,064
08-05-13 조회 798