Board Logo

Need to Show the ID number w title
MrMO - 2/3/2007 at 08:53 PM

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 - 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']


Softcomplex: http://www.softcomplex.com/
Back to forum: http://www.softcomplex.com/forum/