Location: western New York
Member Is Offline
| posted on 12/27/2008 at 03:06 AM
Using in CodeCharge
Anybody here used Tigra Menu in CodeCharge?
I specifically am trying to use the dynamic menu creation with php/mysql.
I got the demo to work just fine, but I seem to be having an issue with the syntax I think.
I am trying to enter this in the header.html file, as I can't quite figure out where to put it in the header.php file that CodeCharge generates.
The code I'm trying to enter is:
<link rel="stylesheet" href="menu_files/menu.css">
<?php build_hierarchy_var('localhost', 'myuser', 'mypassword', 'mydatabase', 'menuitems', 'MENU_ITEMS0', 'id', 'parent_id',
I believe the build_hierarchy_var line is what's generating the error. I had to add the php portion to get it to be valid syntax, but I think there
is something else wrong.
I am not a php pro, nor really an html pro yet, so it's possible it's something very simple.
Any help would be appreciated. I am using Tigra Menu Gold.