如何获取用户名和密码序列号从数据库中获取值

问题描述 投票:0回答:0
<?php 
include 'cona.php';

$sql = "SELECT * FROM manthan";
$result = mysqli_query($cn, $sql) or die("bad query: $sql");

while($row = mysqli_fetch_assoc($result)) {
    //echo $row[fname];
    
        # code...
    echo "<pre>";
    print_r($row);
    
}

?>

(https://i.stack.imgur.com/fHfa6.png)](https://i.stack.imgur.com/aRZUH.png)

mysqli
© www.soinside.com 2019 - 2024. All rights reserved.