Hi
I have a script where:
1) The user fill a form and submit
2) The script validate the data
3) If wrong it shows the form again with error messages
4) If OK it sends a "Wait please" screen.
include("waitplease.html");
flush();
5) Process the queries (some times a long process)
6) Show another screen with te results
include("result.html");
exit();
The problem is:
When it sends the waitplease.html the browse clear the screen and show "Wait Please"
But when the script sends the second .html, the screen is not cleared and the second .html goes below the first one.
Any help on this problem would be greatly appreciated.
Rui Torres