php多个表查询的问题
<!--{eval $mythread1 = DB::fetch_all('select * from '.DB::table('attachment')." where tid = $tid");}--><br /><br /><!--{loop $mythread1 $key $val}--><br />{$val[id]}<br /><!--{/loop}-->
<!--{eval $mythread = DB::fetch_all('select * from '.DB::table('attachment_这里')." where tid = $tid"); }--><br /><br /><!--{loop $mythread $key $val}--><br />{$val[name]}<br /> <!--{/loop}-->