I have a list of IDs (from a MySQL table) for sending emails and the user can select one or all or however many people they want to send an email. When they hit the "send" button, I want their default mail client to open up and have all the email addresses their. So far, I have this working. The "send" button sends the IDs to a separate PHP file that would pull the appropriate email addresses. It looks something like this:
$emails = array();
$_emails = mysql_query(SELECT email FROM people WHERE id=$_POST['id'][$i]);
I want the web page to stay on the list of email addresses. How can I redirect the blank page to the previous page? Two header() don't seem to work..