이름
비밀번호
    메일
    제목
    내용
 
> 김대성님의 글

index.php
<?php
include 'Template_.class.php';
$tpl = new Template_;
$tpl->define('index', 'index.tpl');
$tpl->assign(array(
   'title'  =>'First Template_',
   'content'=>'Fill me in',
));
$tpl->print_('index');
?>

index.tpl
<html>
<head>
<title>{title}</title>
</head>
<body>
{content}
</body>
</html>

위 같은 문장에 index.tpl 내용중에 엔터를 전부 삭제 하여 불러오려고 할경우 template_.class.php 에서 어느 부분을 봐야 할까요?

index.tpl 이 라인수가 8000라인이 넘어가는 페이지가 있다보니 엔터 와 텝문자를 제거시켜야 하는 상황이 생겼습니다.
 
Since 2003-03-03 hosted on vultr.com