Hi,

If I refresh a page than post values are also submitting repeatedly...........

how to solve this problem....

Post your code. We cant tell the problems unless you post your codes.

Hi,

If I refresh a page than post values are also submitting repeatedly...........

how to solve this problem....

What you’re doing is essentially submitting the data again.

You could check whether or not the submit button was actioned: if (isset($_POST['Submit'])) { Name your submit button 'Submit'

Thats one way of doing it.

One thing you can do is..


its obvious that on pressing submit u have performed a task
for e.g updating a databse or something...

Just put a condition if the task has been executed successfully., i.e redirect to the same page or any other page on success.

if(opertion success)
{
// redirect to the same/some page.
}


now if u hit refresh the whole page wil b loaded again.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.