smartyに少し問題がありますが、これを修正する方法がわかりません。
これは私のindex.tplです
<body>
{include file='header.tpl'}
{include file='leftmenu.tpl'}
<div id=content>
{include file="news.tpl" }
{include file="rightmenu.tpl"}
</body>
私の問題はこの行です
<div id=content>
{include file="news.tpl" }
news.phpnews.tplそれは私のニュースシステムなので、表示する必要があるファイルです。
でnews.php、mysqlデータベースにクエリを実行し、結果をに渡しますnews.tpl。
しかし、私が上記の行を書くときnews.tpl、結果がどこから来るのかわかりません。
誰かが助けてくれることを願っています。