[UPHPU] Associating data with radio buttons
Wade Preston Shearer
lists at wadeshearer.com
Mon Nov 27 13:59:35 MST 2006
> It's associating the data to the appropriate question.
> I have a table that has 26 questions in it. I've created a data
> entry page that has radio buttons associated to the questions by
> using the questionID. That part works, they enter true or false and
> when they submit it the data is saved in one record with their user
> ID as the key.
> I want to create a page that they can bringh up their answers and
> allow them to edit. That's the part that I dont know how to do. I
> start with a select statement to get their data, then another
> select statement to get the actual questions, then to associate the
> two.
>
> Hopefully that's a little clearer.
Ah, now we're getting somewhere. So you need help writing the SQL
statement?
Let's make sure that we understand your database structure. It sounds
like you have at least three tables: questions, users, and answer. Is
that correct?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2425 bytes
Desc: not available
Url : http://uphpu.org/pipermail/uphpu/attachments/20061127/151b5cee/smime.bin
More information about the UPHPU
mailing list