Click to See Complete Forum and Search --> : get field id


superbogel
04-30-2009, 06:39 AM
halo guys i have a table that have sorting menu, and its sort by position id
can i get the value of the specific id?

table spec
spec_id specname
1 group 1
2 group 2
3 group 3

table spec_detail
id name spec_id positionid
1 a 1 1
2 b 1 2
3 c 1 3
4 d 1 4
5 e 2 1
6 f 2 2
7 g 3 1
8 h 3 2


the purpose to get this first and last value is that, when i want to move the ordering of the menu, the up button should not be shown when its in the first order and so the last order should show the down button..

can someone help me pls :(

superbogel
05-06-2009, 12:38 PM
is anybody out there?