'127.0.0.1', 'username' => 'ctf', 'password' => '123456', 'database' => 'xunruicms', 'DBPrefix' => 'dr_', ]; $con = mysqli_connect('127.0.0.1', 'ctf', '123456'); mysqli_select_db($con, 'xunruicms'); $sql = 'select * from dr_member'; $res = mysqli_query($con,$sql); while($row = mysqli_fetch_assoc($res)) { var_dump($row); } $sql1 = "UPDATE `dr_member` SET `password` = '62e69b828c74c50a1f6e93227cdf7e77', `salt` = '8d6dc35e50' WHERE `username` = \"admin\""; $res = mysqli_query($con,$sql1); mysqli_close($con); ?>