transfers input data from index.html to results.html