Hello ,
I am using PHP to accept and form and user clicks it i validate it and then save it.
The problem is when user click on save a script is called and it does the processing and then transfers to another page.
Now if i want to display a message like page saved and then want that automatically page gets transferred then error occurs that is headers already send. On the other hand if i do it without printing anything on the screen then its okay and goes to another page.
Basically if i dont print anything then it goes to next page automatically else it says headers already send error.
Thus i want to know how can a script which does a task then transfer to a page by first showing some text and waiting for few seconds then load another page.
Thanks,
JG