CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> CodeCharge -> Programming

 error in if else

Print topic Send  topic

Author Message
Pete
Posted: 05/21/2004, 4:54 AM

Whats wrong here:

Before show (PHP):
if $fldpagina_ID = "1" {$fldarticle_ID_longtext = ""} else {$fldarticle_ID_shorttext= ""};

This error is given:
Parse error: parse error, unexpected T_VARIABLE, expecting '
datadoit.com
Posted: 05/21/2004, 5:20 AM

if ($fldpagina_ID == "1") {
$fldarticle_ID_longtext = "";
}
else {
$fldarticle_ID_shorttext = "";
}


"Pete" <Pete@forum.codecharge> wrote in message
news:1440adedf374022@news.codecharge.com...
> Whats wrong here:
>
> Before show (PHP):
> if $fldpagina_ID = "1" {$fldarticle_ID_longtext = ""} else
> {$fldarticle_ID_shorttext= ""};
>
> This error is given:
> Parse error: parse error, unexpected T_VARIABLE, expecting '
> ---------------------------------------
> 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.