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

 Am i being daft = SetValue($myvar1,$myvar2);

Print topic Send  topic

Author Message
montymoose


Posts: 85
Posted: 10/02/2005, 1:27 PM

This to me (n00b) looks fairly simple - and as if it should work.


global $Vote_Votes;
$myvar1 = "Value 1";
$myvar2 = "Value 2";
$Vote_Votes->IPAdd->SetValue($myvar1,$myvar2);

IPAdd field should read Value1Value2 - but it doesn't. It just reads Value1. Is it possible to set a control value to more than on variable??
View profile  Send private message
wkempees


Posts: 1679
Posted: 10/02/2005, 3:54 PM

$Vote_Votes->IPAdd->SetValue($myvar1.$myvar2);

substitute the comma for a dot should concatenate the two variable values and result in Value1Value2.
The SetValue() accepts one argument.


_________________
Origin: NL, T:GMT+1 (Forumtime +9)
CCS3/4.01.006 PhP, MySQL .Net/InMotion(Vista/XP, XAMPP)

if you liked this info PAYPAL me: http://donate.consultair.eu
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.