CodeCharge Studio
search Register Login  

Visual Web Reporting

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

YesSoftware Forums -> Archive -> GotoCode Archive

 PHP example desired for

Print topic Send  topic

Author Message
Dave Baker
Posted: 09/16/2003, 1:31 PM

Could anyone provide a PHP example for this FAQ?

Thanks! -- Dave Baker
-------------------


How to place dynamic content on a page programmatically?
Products: CodeCharge Studio
Areas: ASP, General


If you want to build HTML snippets programmatically, such as JavaScript, custom controls, dynamic content, etc., you may place custom tag or Label control anywhere within the HTML page, then replace it programmatically at run-time. This can be achieved in several ways (ASP/VBScript):

1. Place a control (such as a Label) on the page and then use "Before Show" event for this control with the following code:
EventCaller.Value = "test"

2. Place a control (such as a Label) on the page and then use any event with the following code:
Label1.Value = "test"
(replace "Label1" with the name of your control)

3. Place custom tag in curly brackets anywhere on the page, for example {my_tag}, then use any event with the following code:
Tpl.Variable("my_tag") = "test"
(replace "my_tag" with the text you placed in curly brackets)


Viewed 1928 times. Last updated: 7/23/2002 1:57:36 AM

Si Cranmer
Posted: 09/17/2003, 3:52 AM

Dave,

I have just solved this dylema myself. I have created an article but am awaiting advice on how to format it + then it needs acceptance. Keep watching Ill post up the link later today.

Si.

   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

PHP Reports

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

Home   |    Search   |    Members   |    Register   |    Login


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