search

Home  >  Q&A  >  body text

The code is exactly the same, but an error is reported. What does this error mean?

下面是报错的内容

Fatal error: Uncaught PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'class_id' in 'where clause' in D:\PHP\xiaopi\phpstudy_pro\WWW\lyj.com\index.php:58 Stack trace: #0 D:\PHP\xiaopi\phpstudy_pro\WWW\lyj.com\index.php(58): PDOStatement->execute() #1 {main} thrown in D:\PHP\xiaopi\phpstudy_pro\WWW\lyj.com\index.php on line 58

P粉765828186P粉765828186712 days ago720

reply all(2)I'll reply

  • WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB

    WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB2023-02-17 14:42:25

    Translate, there is something wrong with class_id

    reply
    0
  • P粉765828186

    Thank you, brother, it’s OK.

    P粉765828186 · 2023-02-17 14:44:25
  • Cancelreply