Actually My Feedback page is calling a method which is in header.php (this page contains all methods). In that method I have
header("Location: thank.php"
;
Also Feedback.php and Header.php both includes php pages such as :
include("dbconnect.php"
;