Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我的共享服务器上没有 mysqlnd 驱动程序。
我该怎么写:
$stmt = $conn->prepare($query); $stmt->execute(); $result = $stmt->get_result(); $servers = mysqli_fetch_all($result,MYSQLI_NUM);
没有 mysqlnd 驱动程序?
$servers = array(); $result = $conn->query($query); while ($row = $result->fetch_assoc()) { $servers[] = $row; }
^^^ 成功了!