Hi Is it possible to perform two actions when a form is submitted? I have a form which I use to search for reaults. I would like to have this form saved in mysql table, so that it can be retrieve in future without having to repopulate the fields. In the mean time I would like it to be able to perform the search function too.
Have the form post to itself and use something like:
if($Submit){
// ---- save form to database code here --
// ---- search code here -----------------
header("Location (location of page to tell user that the submission was made) ");
}