Please create the database menu_db and then import the tables and values.
The problem I am faced with is adding all subcategories, with the same cat_id, to the correct category. All the subcategories with cat_id = cat0001 should all be child nodes of category cat0001 i.e.
I have tried for a while and now seek help if anyone can get this right.
Here is the php file, all I can get is link the first category with its subcategories.
1) you might want to post some code
2) you might want to fix your connection string
3) and you usually can't just dl a php file when its running on a server (security issues and all that)
4) and out of curiousity, what are you using this in conjuction with that makes you want to pull the data into an xml file and then use it for the menu? will the users not have access to the xml file?
http://www.corecreations.co.za/nav_menu/menu.php
Warning: mysql_connect(): Access denied for user: 'username@localhost' (Using password: YES) in /home/httpd/vhosts/corecreations.co.za/httpdocs/nav_menu/menu.php on line 3
cannot reach database
Bookmarks