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?
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