有使用prepare嗎?This parameter (and presumably any other parameter in mysqli_stmt) will raise an error with the message "Property access is not allowed yet" if the statement was not prepared properly, or not prepared at all.To prevent this, always ensure that the return value of the "prepare" statement is true before accessing these properties.

解决方案 »

  1.   

    是不是你的mysqli的扩展没有打开?
      

  2.   

    php中配置好了的,用phpinfo()查看也是有mysqli扩展的。
      

  3.   

    不太懂 不知道Property access is not allowed yet到底是在说什么~~
      

  4.   

    if the statement was not prepared properly, or not prepared at all
    这个提示才是关键This parameter (and presumably any other parameter in mysqli_stmt) will raise an error with the message "Property access is not allowed yet" if the statement was not prepared properly, or not prepared at all.To prevent this, always ensure that the return value of the "prepare" statement is true before accessing these properties.