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

|