After pressing a submit button in a form,
is it possible to execute a line of code before (ie PHP email function) going to next page (ie action=nextpage.php)?
1-press submit
2-email some info
3-proceed to next page
If I have do this with JavaScript (if PHP alone won't work) will I lose my posted data if nextpage is not called directly from the form tag?
Thanks