Maison >développement back-end >tutoriel php >php多个表查询的有关问题
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}-->