Personally, I favour separation. The refresh/reload problem is sufficient reason for me. Placing data back into the form following a failure (e.g. showing username/email data in login form if p/w is wrong). You'll be using sessions anyway, so simply place $_POST data and any error messages into $_SESSION['last_form'] and then … Read More
Edited by weekendrockstar: Typos make me angry!