|
Posted by hermanh28 on 05/01/07 19:29
tearing my hair out over this!
I have 2 tables:
PTable which lists all traits
pid,ptype
1,good
2,bad
3,neutral
UserP Table which records user and traits
uid,pid
1,2
1,3
9,1
9,2
9,3
For a certain user UID, how can I get php to automatically create html
checkboxes listing ALL traits from PTable and check each trait based
on the UserP table on a webpage?
Hence, if UID is 1
it should show
good - unchecked
bad - checked
neutral - checked
[Back to original message]
|