|
The problem description is unclear!
On which page is "return"? When is "return"? After successfully inserted into the database? Which page is returned?
The data actually exists in the browser's buffer. So after refreshing the page, a piece of data will be inserted. The solution is to use header("location:".$_SERVER['PHP_SELF']); |
|