Sometimes the inserted data can be displayed after submission. Sometimes the inserted data cannot be displayed after submission. When the inserted data is inserted, all the data that was not displayed just now is displayed. I tried it many times. there are no rules. What is the reason? What Is ajax cache? How can this problem be solved? Submit page... sometimes the inserted data can be displayed after submission. Sometimes the inserted data cannot be displayed after submission. When the inserted data is inserted, all the data that was not displayed just now is displayed. I tried it many times. there are no rules. What is the reason? What Is ajax cache? How can this problem be solved?
Submit page
Prepare ("select id, txt from ajax"); $ stmt-> execute (); $ res = $ stmt-> fetchall (PDO: FETCH_ASSOC ); foreach ($ res as $ v) {echo $ v ['txt '] ;}?>