PHP is server-side, as everyone says, but you can add the target="_blank" attribute to your form tag. This does not work on the production server side, but allows you to submit the form to a new window that will be processed on the server.
A clean trick, but 1) is deprecated in HTML Strict and 2) is rarely useful.
source share