I'm assuming your storing information like like this:
username,id,answer1,answer2,answer3,etc...
If you had a database just for answers, like this
username,question_number,answer
then make the username,question_number combo unique, you would have your checking you want.
CREATE TABLE answers (
username VARCHAR(20) NOT NULL,
question_num TINYINT NOT NULL,
answer TEXT,
unique (username,question_num)
);
mysql> show columns from answers;
+--------------+-------------+------+-----+---------+-------+
| Field | Type | Null | Key | Default | Extra |
+--------------+-------------+------+-----+---------+-------+
| username | varchar(20) | | PRI | | |
| question_num | tinyint(4) | | PRI | 0 | |
| answer | text | YES | | NULL | |
+--------------+-------------+------+-----+---------+-------+
3 rows in set (0.00 sec)
mysql> insert into answers values ('John',1,'False');
Query OK, 1 row affected (0.08 sec)
mysql> insert into answers values ('John',2,'True');
Query OK, 1 row affected (0.00 sec)
mysql> insert into answers values ('John',1,'True');
ERROR 1062: Duplicate entry 'John-1' for key 1
Hope that helps...or gives you an idea..
---John Holmes...