precioso
|
Posted: 01/02/2004, 6:08 AM |
|
Its a very simple question but my problem is with the templates setup.
i need to diplay the value of a variable assigned in my php code in the html page (not in a form or grid, just the title)
eg:
$myvar = 'Welcome ' . Session("UserID");
how do i display the result of $myvar on the top of my page ?
thanx
|
|
 |
Dang
|
Posted: 01/06/2004, 4:56 AM |
|
Put an Label control on your design and view code. Search for your Label name (default is Label1 or something like that).
You may be see:
$Label1 = new clsControl(ccsLabel, "Label1", "Label1", ccsText, "", CCGetRequestParam("Label1", ccsGet));
put the following code in //Show Page. (searh for "Show Page", it near to end of file):
$myvar = 'Welcome ' . Session("UserID");
$Label1->SetText($myvar);
$Label1->Show();
Hope this help.
|
|
 |
|