I have 2 pages :
page1.php :
- has a form with text box and a \"submit\" button. Eg :
Rather than
echo '';
you should use the header() function to redirect your user after the submission.
So in psuedo code,
click submit on page.php action page1.php page1.php submits data to database calls
header('Location: http://example.com/page2.php');
This should prevent your clicking back problem