Hallo
i m using the function mail to send email mail(to,subject,mag);
the problem that every time i refresh the page ,the function keep sending to the last email address wihtout pressing the botton SEND
on most browsers, when a page is refreshed any form data that was sent is re-sent, thus any code that is run on a form submission will be re-run.
So how can i stop it i want it to send it once after clicking the botton SEND
Send them off to another page after sending the mail.