員空間模板支持用php查詢所有表,例子:會員空間的留言用這個調用:
<?php
$gbsql=$empire->query("select gid,isprivate,uid,uname,ip,addtime,gbtext,retext from {$dbtbpre}enewsmembergbook where userid='$userid' order by gid desc limit 10");
while($gbr=$empire->fetch($gbsql))
{
?>
留言者:<?=$gbr[uname]?>
<br>
留言時間:<?=$gbr[addtime]?>
<br>
留言內容:<?=nl2br($gbr['gbtext'])?>
<?php
}
?>