Hello, I don't know if I am violating any rules,

I am currently making an online teacher's evaluation system for my final laboratory project in Web Development course. I think I already got the logic (though still a mess) of the part where the values of the radio button is inserted on the table on the database.. What my problem is, how do i add numbers when another student evaluates the same teacher?

for example:

student A evaluates T_IDRJDL and submits the questionnaire. So the database looks like this:

tblT_IDRJDL:

| question | 5 | 4 | 3 | 2 | 1 |
+----------+---+---+---+---+---+
| #1 | 0 | 1 | 0 | 0 | 0 |
+----------+---+---+---+---+---+
| #2 | 1 | 0 | 0 | 0 | 0 |
--------------------------------

and so on.. now when Student B evaluates T_IDRJDL, how should i make the database look like this?::

| question | 5 | 4 | 3 | 2 | 1 |
+----------+---+---+---+---+---+
| #1 | 0 | 1 | 1 | 0 | 0 |
+----------+---+---+---+---+---+
| #2 | 2 | 0 | 0 | 0 | 0 |
--------------------------------

-----
also, if someone is free, can we talk online? so that i can explain further. PM me and i will give my IM. Thanks in advanced!

Member Avatar for iamthwee

That example makes no sense.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.