Why doesn't auto-update content on the site work?

  • 0
    Good evening,

    Scrolling through google, I still did not find a solution to this problem,
    I have a block with the output of information simplexml_load_file, which gives information about what number is currently recorded in the database.
    I need to auto-update this block, for example, every 10 seconds, without buttons.

    Thank you
    JavaScript Jaxon Shaffer, Sep 28, 2020

  • 1 Answers
  • 0
    Have a bad google look.

    setInterval (simplexml_load_file, 10000);
    Anonymous

Your Answer
To place the code, please use CodePen or similar tool. Thanks you!