CodeCharge Studio
search Register Login  

Web Reports

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

YesSoftware Forums -> CodeCharge Studio -> PHP

 correct syntax

Print topic Send  topic

Author Message
PeterJ


Posts: 90
Posted: 10/23/2005, 2:11 AM

I have two variables:

$variable1 = $Form1->variable1->GetValue();
$variable2 = $Form1->variable2->GetValue();

I want to place the two together as:

$variable3 = $Form1->variable1->GetValue() $Form1->variable2->GetValue();

I can't seem to get the correect syntax.

Could someone assist me please?

Thanks

PeterJ
View profile  Send private message
Damian Hupfeld
Posted: 10/23/2005, 3:59 AM

You could try:

$variable3 = $Form1->variable1->GetValue().$Form1->variable2->GetValue();

see the "."

Damian

"PeterJ" <PeterJ@forum.codecharge> wrote in message
news:5435b53c1ad07a@news.codecharge.com...
>I have two variables:
>
> $variable1 = $Form1->variable1->GetValue();
> $variable2 = $Form1->variable2->GetValue();
>
> I want to place the two together as:
>
> $variable3 = $Form1->variable1->GetValue() $Form1->variable2->GetValue();
>
> I can't seem to get the correect syntax.
>
> Could someone assist me please?
>
> Thanks
>
> PeterJ
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>

PeterJ


Posts: 90
Posted: 10/23/2005, 4:13 AM

Thanks Damian
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.