stop inserting data in the database when refreshing the page

后端 未结 10 1316
太阳男子
太阳男子 2020-12-06 02:27

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

<         


        
10条回答
  •  余生分开走
    2020-12-06 02:57

    if($_POST(submit)
    {
     //database insertion query
     // if successful insertion
        {
    echo"";
    echo";
        }
    }
    

提交回复
热议问题