disable checkbox
Posted: Sun Jun 19, 2005 8:54 am
hello,
i have to make an aplication with innodb tables and i have a problem.
i have 2 tables
table_1
id1
text1
table_2
id2
text2
code_id_1 (foreign key for table_1.id1) ON DELETE RESTRICT
i select the database and each row has a checkbox[]
the question is how could i disable checkboxes of the fileds that are used?
example
table_1
1 blabla
2 balal
3 jhsd
table_2
1 aaaaaaaa 1
2 ssssssss 3
3 dddddddd 1
! the table_1.id='2' is not used by other tables
so here is how should look table_1
----------------------------------------------
checbox | id1 | text1 |
----------------------------------------------
checbox disabled | 1 | blabla |
checbox | 2 | balbal |
checbox disabled | 3 | jhsd |
----------------------------------------------
I hope i made my self clear.
thx in advance for your help
i have to make an aplication with innodb tables and i have a problem.
i have 2 tables
table_1
id1
text1
table_2
id2
text2
code_id_1 (foreign key for table_1.id1) ON DELETE RESTRICT
i select the database and each row has a checkbox[]
the question is how could i disable checkboxes of the fileds that are used?
example
table_1
1 blabla
2 balal
3 jhsd
table_2
1 aaaaaaaa 1
2 ssssssss 3
3 dddddddd 1
! the table_1.id='2' is not used by other tables
so here is how should look table_1
----------------------------------------------
checbox | id1 | text1 |
----------------------------------------------
checbox disabled | 1 | blabla |
checbox | 2 | balbal |
checbox disabled | 3 | jhsd |
----------------------------------------------
I hope i made my self clear.
thx in advance for your help