Board Logo

Linking problem
digitalquill - 3/11/2008 at 09:02 PM

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 - 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 - 3/12/2008 at 07:29 AM

Ah! Thanks... works like a gem perfect


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