How to make it so that when the test site the test results were derived not only the user but also the administrator on the page admin?

Write online testing system for students in PHP,MySql and AJAX.Is the user part and administrator.The user passes the test on the website and receive detailed results on the screen.These results should see an administrator on your page.Who,at what time he received these results.How best to implement it?
June 7th 19 at 14:49
3 answers
June 7th 19 at 14:51
You do not know how to INSERT? Question about record in the database multiple values like you are doing system testing without having the knowledge how to perform this operation?
June 7th 19 at 14:53
I'm not super skolovy, but theoretically I can say. But it will be very cumbersome solution.
The user enters the answer and sends it. Sends an ajax request to the server. On the server information about the response to something is stored. (In sql or a text file). And the village administrator a js script that setInterval sends a request to the server and the server checks for changes in the right files. When the change - back that the server is found in the file administrator on the client. Then using js to put the received data where necessary.

Specifically, this decision could chew more if something is not understood. But once again, I'm not super skolovy, and there is probably a much better educated decision than that.
If there is a solution on the framework,then please tell me! - Pinkie.Bergnaum commented on June 7th 19 at 14:56
June 7th 19 at 14:55
Not to do the tests with such knowledge. Any student will pass a little groping your inquiries in a year will sabout get all a's on your tests.
Already did - Pinkie.Bergnaum commented on June 7th 19 at 14:58

Find more questions by tags SessionsAJAXMySQLPHP