How to make a table that is updated at the same time as an INSERT INTO is made to the base?


I am developing a fairly simple tool, it is for a Call Center works in the following way.

It is basically a "Ranking" of best sellers, by means of a form the sales are entered into a database and on the page informe.php this table of the query the sales data are grouped by sellers and and ordered by totals.

The problem is that when entering a sale you should go to the report.php window and reload the page to be able to see the new sale. what I want to do is to be able to enter the new sale and automatically appear in the window of reporte.php and entered the sale without having to update the page.

asked by Santiago Gutierrez 22.03.2018 в 19:08

0 answers