Hi,
How to avoid the data insertion in mysql tables by refreshing the page using php. I am not redirecting my page. I am using $_SERVER in form action. Please help me out. its very urgent

Well, simply check if the content is equal to the data already stored in your database.

hi can't understand

fetch the last data you saved in your database, run through them and check if they're equal to the data, the user wants to add. That combined with a short time-period, you can happily take for granted that the user hit the refresh button of the browser.

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.