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

 Hi i am newbie

Print topic Send  topic

Author Message
larciga

Posts: 4
Posted: 03/29/2005, 9:11 PM

hi all.. i need to put the next code in codecharge but i dont know where i can put ... if i put directly in html noting hapend

<?php
include_once "/home/guanajua/public_html/cnrm/poll2/booth.php";
echo $php_poll->poll_process("newest");
?>


where i can add ?

Thx
larciga
View profile  Send private message
peterr


Posts: 5971
Posted: 03/29/2005, 10:42 PM

First, you don't need the 1st and the last lines. Then you could try this:
Add your 2nd & 3rd line somewhere at the beginning of your page (PageName.php) where you want to display the results:
include_once "/home/guanajua/public_html/cnrm/poll2/booth.php";
echo $php_poll->poll_process("newest");

I'm assuming that the above may not work as you intend, thus another solution could be:
1. Add your 2nd line somewhere at the beginning of Common.php, or at the beginning of your page where you want to display the results:
echo $php_poll->poll_process("newest");
2. Create a Label anywhere on your page, then in the Label's Before Show event add this code:
$LabelName->SetValue($php_poll->poll_process("newest"));

You can also refer to these examples of setting control values:
http://docs.codecharge.com/studio/html/ProgrammingTechn...ntrolValue.html

Unfortunately it is not guaranteed that any of the above solutions will work without analyzing your booth.php code and understanding how it works. But you could sure try.

_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com
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 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.