
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??
|
 |
 |
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
|
 |
 |
|

|