
エントリーの編集

エントリーの編集は全ユーザーに共通の機能です。
必ずガイドラインを一読の上ご利用ください。
PHP PDO::bindParam() data types.. how does it work?
記事へのコメント0件
- 注目コメント
- 新着コメント
このエントリーにコメントしてみましょう。
注目コメント算出アルゴリズムの一部にLINEヤフー株式会社の「建設的コメント順位付けモデルAPI」を使用しています

- バナー広告なし
- ミュート機能あり
- ダークモード搭載
関連記事
PHP PDO::bindParam() data types.. how does it work?
I'm wondering what the declaration of the data type in bindParam() (or bindValue()) is used for..... I'm wondering what the declaration of the data type in bindParam() (or bindValue()) is used for... I mean, I thought that if I define an integer argument (PDO::PARAM_INT), the argument must be converted to an integer, something like $delete->bindParam(1, $kill, PDO::PARAM_INT); // should work like $delete->bindParam(1, (int)$kill); or at least throw an error if the argument is not of the declared