CodeCharge Studio
search Register Login  

Web Reporting

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

YesSoftware Forums -> CodeCharge Studio -> PHP

 Strange label issue

Print topic Send  topic

Author Message

Posts: 1
Posted: 04/02/2016, 9:41 AM

Ok guys I need some thinkers on this 3 days same result I am missing something..

I am using sessions to display a message when logged out.. now on my index page the label is called display_logged. on the label before show I have added the following code


I have the label displayed to html...

on my logout action I have which is on the same page

//Logout @2-02E9218A
if(strlen(CCGetParam("Logout", "")))
global $Redirect;
$Redirect = "index.php";

set_message("Logged Out Successfully");
//End Logout

it works perfectly with one huge problem

the message shows at the top of the page and when I right click view source this is what it looks like

Logged Out Successfully!


why is it setting the message out side of the html document the label is inside a div tag
View profile  Send private message

Posts: 513
Posted: 04/03/2016, 3:58 AM

Are you setting the value of the label to the message or does the function display_message just print or return the text (which would give the results you describe)?

You should have something like
in BeforeShow, otherwise the label isn't being set to anything.

CCS 3/4/5 ASP Classic, VB.NET, PHP
Melbourne, Victoria, Australia
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.