CodeCharge Studio
search Register Login  

Web Reporting

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

YesSoftware Forums -> Archive -> CodeChargeStudio.Discussion

 ccs2 beta 1 error Parse error: parse error, unexpected '=' in c:\localhost\frozenorbit\t2.php on line 265

Print topic Send  topic

Author Message
robert
Posted: 01/19/2003, 6:02 AM

Parse error: parse error, unexpected '=' in c:\localhost\frozenorbit
\t2.php on line 265

i got on this page ; with editable grid builder created

in this codeblock:
//Validate Method @60-D6E8A1EC
function Validate()
{
$Validation = true;
$this->CCSEventResult = CCGetEvent($this->CCSEvents,
"OnValidate");

for($i = 0; $i < sizeof($this->PKs); $i = $i + 5)
{
$RowNumber = ($i + 1) / 5;
$this->ds->pk_product.PRODUCT_ID = $this->PKs[$i];
$this->ds->pk_product_category.PRODUCT_CATEGORY_ID = $this->
PKs[$i + 1];
$this->ds->pk_FROM_DATE = $this->PKs[$i + 2];
$this->ds->
pk_product_category_classification.PRODUCT_CATEGORY_ID = $this->PKs[$i +
3];
$this->ds->pk_product_category_classification.PRODUCT_ID =
$this->PKs[$i + 4];
$this->Delete->SetText(CCGetFromPost("Delete". "_" .
$RowNumber, ""));
if(strlen($this->ds->pk_product.PRODUCT_ID) && strlen($this->
ds->pk_product_category.PRODUCT_CATEGORY_ID) && strlen($this->ds->
pk_FROM_DATE) && strlen($this->ds->
pk_product_category_classification.PRODUCT_CATEGORY_ID) && strlen($this->
ds->pk_product_category_classification.PRODUCT_ID))
{
if(!$this->Delete->Value)
$Validation = ($this->ValidateRow($RowNumber) &&
$Validation);
}
else if($this->CheckInsert($RowNumber))
{
$Validation = ($this->ValidateRow($RowNumber) &&
$Validation);
}
}
return (($this->Errors->Count() == 0) && $Validation);
}
//End Validate Method


line 265: $this->ds->pk_product.PRODUCT_ID = $this->PKs[$i];




what went wrong ???

any help appreciated.

thanks,

bob
Alexey Alexapolsky
Posted: 01/20/2003, 1:00 AM

I suggest that you submit a request to support.codecharge.com

--

Alex,
Support Engineer
CodeCharge Team


"robert" <whocares@hotmail.com> wrote in message
news:Xns9308995393D70bobno380spamhotmailc@66.180.229.147...
> Parse error: parse error, unexpected '=' in c:\localhost\frozenorbit
> \t2.php on line 265
>
> i got on this page ; with editable grid builder created
>
> in this codeblock:
> file://Validate Method @60-D6E8A1EC
> function Validate()
> {
> $Validation = true;
> $this->CCSEventResult = CCGetEvent($this->CCSEvents,
> "OnValidate");
>
> for($i = 0; $i < sizeof($this->PKs); $i = $i + 5)
> {
> $RowNumber = ($i + 1) / 5;
> $this->ds->pk_product.PRODUCT_ID = $this->PKs[$i];
> $this->ds->pk_product_category.PRODUCT_CATEGORY_ID = $this->
> PKs[$i + 1];
> $this->ds->pk_FROM_DATE = $this->PKs[$i + 2];
> $this->ds->
> pk_product_category_classification.PRODUCT_CATEGORY_ID = $this->PKs[$i +
> 3];
> $this->ds->pk_product_category_classification.PRODUCT_ID =
> $this->PKs[$i + 4];
> $this->Delete->SetText(CCGetFromPost("Delete". "_" .
> $RowNumber, ""));
> if(strlen($this->ds->pk_product.PRODUCT_ID) && strlen($this->
> ds->pk_product_category.PRODUCT_CATEGORY_ID) && strlen($this->ds->
> pk_FROM_DATE) && strlen($this->ds->
> pk_product_category_classification.PRODUCT_CATEGORY_ID) && strlen($this->
> ds->pk_product_category_classification.PRODUCT_ID))
> {
> if(!$this->Delete->Value)
> $Validation = ($this->ValidateRow($RowNumber) &&
> $Validation);
> }
> else if($this->CheckInsert($RowNumber))
> {
> $Validation = ($this->ValidateRow($RowNumber) &&
> $Validation);
> }
> }
> return (($this->Errors->Count() == 0) && $Validation);
> }
> file://End Validate Method
>
>
> line 265: $this->ds->pk_product.PRODUCT_ID = $this->PKs[$i];
>
>
>
>
> what went wrong ???
>
> any help appreciated.
>
> thanks,
>
> bob

robert
Posted: 01/21/2003, 3:50 AM

quick response from support.

solved by new php templates.


eagerly waiting for the new beta :-))

   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.