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.
$result = $db->("SELECT `count` FROM playerCount"); while($row = mysql_fetch_assoc($result)) { echo $row['count']; }
如何转换行:while($row = mysql_fetch_assoc($result)) {
到 PDO?
谢谢。
$stmt = $db->query(...); while($row = $stmt->fetch(PDO::FETCH_ASSOC)) {