I am looking for a way to stop inserting or sending data in the database when refreshing the page.
here is my code:
user_details_page.php
<
i have this solution by using session
'; $_SESSION["a"]=array(); $_SESSION["a"][0]="a".rand(1,100); echo ''; $_SESSION["a"][1]="a".rand(1,100); echo ''; $_SESSION["a"][2]="a".rand(1,100); echo ''; $_SESSION["a"][3]="a".rand(1,100); echo ''; echo ''; } ?>