I am building a cycling form that saves data the user enters in on a submit. It then redisplays the form for another entry until the user wants to quit.
My problem is if the page is refreshed after the first pass the insert query goes off. How can I prevent this? And/Or is there a better way of doing this?
eg. looks something like this....
if(!issest($submit))
{
display_form();
}
elseif(isset($submit))
{
insert_data($_POST);
display_form();
}
Thanks,
Mike