title: How do I load the previous page after submitting a form in php?
body: <p>I'm having trouble on how to redirect the page to the previous one after submitting a form in php. My site has this header that is used for all of my pages and it contains this "add" button which sends the form to my "add.php". I'm not sure if using the header() function of php would solve it. </p>