我有以下代码,但它似乎打破了$result = $mysqli->query($query);
声明中的页面。我究竟做错了什么?
$ids = join(',',$newArray);
$query = "SELECT name, image FROM logos WHERE id IN ($ids)";
$result = $mysqli->query($query);
while ($row = $result->fetch_assoc()) {
$imageLink = $row['logoImageLink'];
echo "<li><img src=\"$imageLink\"/></li>";
}