Quote:
Originally Posted by dcortez
How about this...
Your page with the form, on submit, executes a PHP script:
record_and_go.php
You pass whatever data you need for saving, AND the target URL.
The PHP script does whatever DB validation/update you need, and returns an tiny HTML shell that contains only a Javascript snippet that immediately sets the window location (page url) to the target page from the last form.
That will cause the target page to be loaded when the JS is executed (on form load).
??
|
That could potentially work perfectly actually
I'd need to add an additional .php file, but yeah, I can see that working.