[SOLVED] Run button close the page inmediatly!

I have a grid with a “RUN” button which makes some data processing. But when the processing finish the window closes inmediatly without time to shows some message (echo or js alerts).
Do you know how make a pause to show the final message with the results of processing?

Really thanks!
Pablo

Re: Run button close the page inmediatly!

at the end of the function i make something like this…

echo ("<center>Put some message</center>");
sc_exit(ok,sel);

’ OK stops the program and the shows the actual grid again…

Best regards
Uwe

Re: Run button close the page inmediatly!

Excellent!!

Tx, you save my day!!