MrMO
Newbie
Posts: 1
Registered: 1/28/2007
Location: Missouri
Member Is Offline
|
| posted on 2/3/2007 at 08:53 PM |
|
|
Need to Show the ID number w title
Am on pro pulling from mySqL I need to display the unique ID for each menu Item as part of the name.
I tried in Items.php but cannot seem to do it without breaking the new tree
JM
|
|
|
tigra
Administrator
Posts: 1926
Registered: 6/17/2002
Location: US, CO
Member Is Offline
|
| posted on 2/3/2007 at 11:03 PM |
|
|
you were on the right way. rename tree_items.js into tree_items.php (also adjust the name where file is linked) and add the ID part in the text of the
item with the php script:
['Some Name (<? echo $ID ?>)', 'link.html']
|
|
|