When I remove the where clause it works fine but inserts the details into a different row.
So is it my where clause that's wrong??
Here it is:
$query = "insert into answers(sixth_ans, seventh_ans, eight_ans, ninth_ans, tenth_ans)
values('".$q6."', '".$q7."', '".$q8."', '".$q9."', '".$q10."')
where name = '$hidden'";
Thanks.