Z
ZZZZZzzzzzZZZZZ
Hello
I got a table that looks something like:
<pre>
menuID caption parentID seq
1 Books 0 1
2 Tables 0 2
3 English 1 1
4 Spanish 1 2
</pre>
This give me the option to build the menu in HTML (I don't think it's the
best way but this what I could think of) and when I want to enter the next
menu item under books, I need to find out what is the biggest seq value where
parented=1 and insert that number to the insert query.
Can anyone help?
Sagi
I got a table that looks something like:
<pre>
menuID caption parentID seq
1 Books 0 1
2 Tables 0 2
3 English 1 1
4 Spanish 1 2
</pre>
This give me the option to build the menu in HTML (I don't think it's the
best way but this what I could think of) and when I want to enter the next
menu item under books, I need to find out what is the biggest seq value where
parented=1 and insert that number to the insert query.
Can anyone help?
Sagi