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

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

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