There are only two problems with your SQL
1) you should never concatenate strings to form SQL - you leave yourself open to SQL injection -
xkcd: Exploits of a Mom[
^] - so please learn how to use a parameterised SQL statement - yes, its possible, even in PHP ;-)
2) this
$uploadAttempts = "INSERT INTO `results` (`fullName`, `temp`, `data1`, `data2`, `data3`, `data4`, `data5`, `data6`, `message`, `result`, `dateTime`, `indexData`) VALUES ('$answer1', '$answer2', '$answer3', '$answer4', '$answer5', '$answer6', '$answer7', '$answer8', '$answer9', '$overallResult', CURRENT_TIMESTAMP, '1'";
might need to be
...CURRENT_TIMESTAMP, '1')";
(note the ')' before the closing double-quote '"' )