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.
mysqli_stmt_bind_result()PDOの構文が知りたい
mysqli_stmt_bind_result()
変換する必要があります: mysqli_stmt_bind_result($stmt, $row->Expenses ); PDO で
mysqli_stmt_bind_result($stmt, $row->Expenses );
機能はPDOStatement::bindColumn. 非常によく似た方法で使用されます。
PDOStatement::bindColumn
$stmt->bindColumn('column', $row->Expenses);
はcolumn、データベース内の列の名前です。
column