CodeCharge Studio
search Register Login  

Web Reporting

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

YesSoftware Forums -> CodeCharge Studio -> PHP

 echo statements

Print topic Send  topic

Author Message
RoyBaird

Posts: 115
Posted: 01/28/2009, 9:46 AM

I have added echo statements so I can see the data CCS is storing in some variables. I have followed the documentation to change the common.php file (ini_set("output_buffering", "Off");
Now, how to I see the echo? the Echo statement is on the Before Show event.

Thanks,
_________________
Roy
View profile  Send private message
datadoit
Posted: 01/28/2009, 11:44 AM

Are you exiting at some point?

echo "this";
echo "that";
echo "the other";
exit; //now get out of there so things will 'flush'.
RoyBaird

Posts: 115
Posted: 01/28/2009, 12:15 PM

I have it in my event code. after I save the control value, I want to see what it saved. the page appears as it always does. Nothing at the top or bottom.
_________________
Roy
View profile  Send private message
maxhugen

Posts: 272
Posted: 02/02/2009, 7:01 PM

Echo doesn't work in all situations... I think there are some other posts on this subject in the forum.

I use Firefox + FireBug + FirePHP to output messages, debug Javascript, and heaps more. It's an 'essential' toolset for me. What's more, it works even when making AJAX calls, something echo can't do.

HTH
_________________
Max
www.gardenloco.com | www.eipdna.com | www.chrisarminson.com
View profile  Send private message
DonP
Posted: 02/04/2009, 10:23 AM

Echo is handy for quick diagnostics but, as CCS uses separate HTML
templates in most cases, the echo results will usually appear at the top
of your page above all headers even when used in a label. To put items
to the screen inside the template, you'll need to use a Before Show
Event on a Label with the CCS function:

$formname->labelname->SetValue("text to show");

Don (DonP)

RoyBaird wrote:
> I have added echo statements so I can see the data CCS is storing in some
> variables. I have followed the documentation to change the common.php file
> (ini_set("output_buffering", "Off");
> Now, how to I see the echo? the Echo statement is on the Before Show event.
>
> Thanks,
> _________________
> Roy
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>

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.

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.