<?php
use think\Db;
require DIR . '/../thinkphp/start.php';
function test() {
$ads = Db::name('table')->where('id', '=', 25)->find();
print_r($ads);
}
test();
<?php
use think\Db;
require DIR . '/../thinkphp/start.php';
function test() {
$ads = Db::name('table')->where('id', '=', 25)->find();
print_r($ads);
}
test();
本文标题:PHP脚本中引用thinkphp库
本文链接:https://www.haomeiwen.com/subject/omdijxtx.html
网友评论