Can Not add new row Table when update database
Can Not add new row Table when update database

Hello, I'm try to show data from database to dataTable but when I update my database (add new row), my table not add this row until I use my admin account to reload my website and it's not available when User reload. I use mysqli to connect my database. Thanh you.
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
It sounds like you may need to call
ajax.reload()
to get the new data. The browser has no idea that new data has been added to the database, so you need to force that reload.Colin
Thanks it works.