当前位置: 首页 > 工具软件 > txtSQL > 使用案例 >

txtSQL----txtSQL1.0数据库密码默认放到data/txtSQL文件夹里面的txtsql.MYI

谷奕
2023-12-01


include('./timer.php');
$timer = new Timer();
$timer->start();
//=========================================================
include('./txtSQL.php');
$sql = new txtSQL('./data');
$sql->connect('root','bpkLie123');
$results = $sql->query('SELECT * FROM txtSQL.user ORDER id ASC');
while ( $row = $sql->fetch_array($results) )
{
    $rows[] = $row;
}
print_r($rows);
//=========================================================
echo '


'.$timer->finish().$timer->getTime() . ' Seconds To Execute';
?>

 

bpkLie更换为bpkLie123

md5更换为166dae00a0d4325234e43658bc7108ca 

 

txtSQL.user意思是访问数据库txtSQL里面的user表   

 类似资料: