Hi,
The app that I'm building calls for the user to enter some header information and then goes to another php page and enters as many detail lines as is needed. The action on this detail form is $PHP_SELF so the page is recalled everytime the user presses submit.
When the user has entered all the detail lines, I've got a 'Done' button, also actioned by $PHP_SELF, which when pressed calls a function (via passed args to $PHP_SELF) which totals one of the fields in the detail records and writes it to the header record.
What I then want to do is to return to the 'header' page automatically. Besides using JavaScript, is there any way within php that this can be done.
And what would also be cool is to not got back to the details page when the user presses the 'back' button on their browser - but I don' know if this is possible.
Any help would be greatly appreciated.
Cheers
Ted