Add record.php to transfer the survey data from Javascript sessionStorage to PHP .