Home  >  Q&A  >  body text

What is the problem with Illegal string offset?

What I wrote earlier was $row=mysqli_fetch_assoc($result); and an error was reported. Change it to $row=mysqli_fetch_all(.....) in the article to display the ID. Aren't these two sentences equivalent? When I wrote it before, foreach could recognize it. What's wrong? 2.png

❤非酋❤非酋2611 days ago1717

reply all(1)I'll reply

  • Braveheart

    Braveheart2017-09-19 11:08:09

    wujie

    reply
    0
  • Cancelreply