mysqli : mysqli_result could not be converted to string

前端 未结 2 1548
無奈伤痛
無奈伤痛 2020-12-12 06:01

I know there have been asked lots of similair questions like this one, but I just can\'t translate it to my problem so thats why I ask again. The code used to work fine but

2条回答
  •  长情又很酷
    2020-12-12 06:30

    $num=$result->num_rows;
    
    echo "
    Database Output


    "; while ($row = $result->fetch_assoc()) { echo "".$row['id']."".$row['first'].""; //etc... }

    is much easier.

提交回复
热议问题