CodeCharge Studio
search Register Login  

Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.

YesSoftware Forums -> CodeCharge Studio -> Tips & Solutions

 How to set menu root ID dynamicaly?

Print topic Send  topic

Author Message

Posts: 89
Posted: 10/09/2008, 5:12 PM

Well, i did it by changing main PHP file. I added this:

global $RootID;
if (CCGetFromGet("smid", "") == ''){
$RootID = '0';
else {
$RootID = CCGetFromGet("smid", "");
parent::clsMenu("menu_parent_id", "menu_id", $RootID);

I need this to create menus from second level down.

Hope it helps to someone,

View profile  Send private message

Add new topic Subscribe to topic   

These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

Home   |    Search   |    Members   |    Register   |    Login

Powered by UltraApps Forum created with CodeCharge Studio
Copyright 2003-2004 by  and YesSoftware, Inc.