Duplicacy Issue In PHP /MYsql -



Duplicacy Issue In PHP /MYsql -

i inserting row in mysql table. row getting inserted in table. issues whenever refresh page, new row added in database.

how prevent it?

this browser's issue. repost info on refresh. prevent happening, you'll have check duplication of info in code each time new record inserted. general practice duplication of info has prevented.

in case genuine duplicate info expected , allowed, can redirect user on same registration page after each insertion header("location: {$location}");. clear post info of browser.

php mysql insert refresh

Comments

Popular posts from this blog

iphone - Dismissing a UIAlertView -

intellij idea - Update external libraries with intelij and java -

javascript - send data from a new window to previous window in php -