View Single Post
Old 10-28-2021, 06:57 PM  
Publisher Bucks
Confirmed User
 
Industry Role:
Join Date: Oct 2018
Location: New Orleans, Louisiana. / Newcastle, England.
Posts: 1,123
Quote:
Originally Posted by dcortez View Post
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.
__________________
SOMETHING EXTREME IS COMING SOON!
Publisher Bucks is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote