CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> Archive -> GotoCode Archive

 template variable

Print topic Send  topic

Author Message
phpmonkey
Posted: 09/23/2002, 8:27 PM

on a page i have a lable called right_col. it is just on the page - not inside a form.

i need to check some conditions and determine the value of that. so in the page "before show" i have the following code...

global $Tpl;
if (some condition){
$value = "some value";
}else{
$value = "some other value";
}
$Tpl->SetVar("right_col",$value);

so why won't this work? the page just loads but right_col has no value.

Nicole
Posted: 09/25/2002, 4:31 AM

Hello,
create field Before Show event and put the code there,

   


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.