CodeCharge Studio
search Register Login  

Visual Web Reporting

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

YesSoftware Forums -> CodeCharge Studio -> PHP

 How to get the value of a label in a grid in an includable page?

Print topic Send  topic

Author Message
Aleister

Posts: 73
Posted: 07/19/2004, 2:19 PM

I have an includable page (inc_header.php) which I include in every page of my project.

inc_header contains a grid which displays every record of a table and is used as a menu for the website.

The problem is that I cannot get the value of each record-field (label) using:

  
//inc_header_admin_menus_name_BeforeShow @3-1D979919  
function inc_header_admin_menus_name_BeforeShow()  
{  
    $inc_header_admin_menus_name_BeforeShow = true;  
//End inc_header_admin_menus_name_BeforeShow  
  
//Custom Code @8-D2C8BB26  
// -------------------------  
    global $inc_header;  
    echo $inc_header->admin_menus->name->GetValue();  

Does anyone knows how can I get the value of a label in a grid in an includable page?

Thank you,
Aleister
View profile  Send private message
peterr


Posts: 5971
Posted: 07/19/2004, 5:12 PM

Try replacing the includable page name with the name of the component used to include the page. For example replace "$inc_header" with "$header" or whatever was the name of the component used to include the page.
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com
View profile  Send private message
Aleister

Posts: 73
Posted: 07/19/2004, 7:44 PM

Just to the point!

Thank you Peter.

Aleister
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 http://support.yessoftware.com.

MS Access to Web

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

CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


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