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表