gidday,
I am trying to connect a .js program called Folder Tree (www.mmartins.com) that builds a windows explorer style file/folder heircachy in an html page to a MySQL database - to do this I am using a PHP script to connect and retrieve the required data.
The code for this is at DevShed.com under an article called "Building an Extensible Menu Class" or something to that effect
- the thing is that when I run it, the javascript does not want to find the global javascript variable I defined in the PHP file.
There are 4 basic files needed in theory for it work - the html file that includes the PHP script and the other javascripts
"ua.js" for browser compatibility
"ftiens.js" that contains all the required functions to build the tree menu.
"menu.class.php" that contains the javascript variable required by "ftiens.js" and the means to retrieve and arrange the data from the database
If anyone out there can solve this I will be eternally greatful, this has held me up for the best part of two weeks
Thanks in advance
d