digitalquill
Junior Member
Posts: 2
Registered: 3/11/2008
Location: Hull UK
Member Is Offline
|
| posted on 3/11/2008 at 09:02 PM |
|
|
Linking problem
Hi all
Ok so I am obviously not the brightest around here or am I missing something? All I seem to be able to get the tree menu to do is show a Javascript
alert with the URL in it.
I am using pro version and the PHP database demo provided, this works perfectly in that it pulls out the tree from the DB but all I can seem to get it
to do is show a javascript alert
really I want it to link to a php page, I would like the link to contain the category ID e.g.
shop.php?id=123
Hope it is me missing something obvious but I cant even seem to get it to link to a url in the DB
|
|
|
tigra
Administrator
Posts: 1920
Registered: 6/17/2002
Location: US, CO
Member Is Offline
|
| posted on 3/12/2008 at 12:28 AM |
|
|
in items.php replace the demo code:
echo " ['$row[$cfn]', \"javascript:linkCheck('$clink')\", ";
with production code:
echo " ['$row[$cfn]', '$clink', ";
|
|
|
digitalquill
Junior Member
Posts: 2
Registered: 3/11/2008
Location: Hull UK
Member Is Offline
|
| posted on 3/12/2008 at 07:29 AM |
|
|
Ah! Thanks... works like a gem perfect
|
|
|