I don't have the mysqlnd driver on my shared server.
How do I write this:
$stmt = $conn->prepare($query);
$stmt->execute();
$result = $stmt->get_result();
$servers = mysqli_fetch_all($result,MYSQLI_NUM);
Without having the mysqlnd driver?
$servers = array();
$result = $conn->query($query);
while ($row = $result->fetch_assoc()) {
$servers[] = $row;
}
^^^ That worked!