----- Original Message ----- From: "why do u want to know?" Hello i have a problam i dont let the data insert in the database when i refresh on a page . How can i prevent ??? ------------------------------ The best way to do this is to search the dayabase first for a unique value that has already been added and don't add if it already exists.
A cheep and nasty way is -
<?php
session_start();
if(isset($_POST["submit"]) && !($_SESSION["posted"]))
{
$_SESSION["posted"] = TRUE;
// do mysql stuff
}
