THINKPHP 调试------输出sql语句

echo $model->getLastSql();//$model为实例化的模板类

posted @ 2015-01-31 19:45  disneyland  阅读(2508)  评论(0编辑  收藏  举报