php mysql查询出错

hzbexzde  于 2021-06-21  发布在  Mysql
关注(0)|答案(1)|浏览(302)

我有两个密码:

if($result=mysql_query($select))
while($row=mysql_fetch_array($result))
{

我要我的密码

zbwhf8kr

zbwhf8kr1#

$con=mysqli_connect("localhost","username","password","my_db");
    $sql="select * from table_name";
    if ($result=mysqli_query($con,$sql))
    {
        while ($row=mysqli_fetch_array($result))
        {

        }
    }

Please try this one

相关问题