エントリーの編集
エントリーの編集は全ユーザーに共通の機能です。
必ずガイドラインを一読の上ご利用ください。
PDOException : get the bad query with exception handler - Post.Byes
記事へのコメント0件
- 注目コメント
- 新着コメント
このエントリーにコメントしてみましょう。
注目コメント算出アルゴリズムの一部にLINEヤフー株式会社の「建設的コメント順位付けモデルAPI」を使用しています
- バナー広告なし
- ミュート機能あり
- ダークモード搭載
関連記事
PDOException : get the bad query with exception handler - Post.Byes
Not from the exception itself, no. $exception->errorInfo[2] has some useful info, but its content... Not from the exception itself, no. $exception->errorInfo[2] has some useful info, but its contents are engine-specific, so may or may not contain the original SQL query that triggered the error. Why do you want to know the offending SQL query anyway? If you report it back to the user, it could reveal a vulnerability in your code, which could be used by a malicious user as a weak point to break int

