After the insertion, the code is submitted in the database i want to show user that he has been success in inserting the values.After that it should redirect to the page.
For redirection i used
header("location:header.php");
I want the remaining thing to be done.I have shown a alert message using window.alert. I want other than this.