PHP Parse Error – yii\base\ErrorException
syntax error, unexpected '350' (T_LNUMBER), expecting identifier (T_STRING) or variable (T_VARIABLE) or '{' or '$'
'Quantity' => $this->Quantity,
'Active' => $this->Active,
'Modifieddt' => $this->Modifieddt,
]);
$query->andFilterWhere(['like', 'Itemno', $this->Itemno])
->andFilterWhere(['like', 'Name', $this->Name])
->andFilterWhere(['like', 'Altname', $this->Altname])
->andFilterWhere(['like', 'Smallimagepath', $this->Smallimagepath])
->andFilterWhere(['like', '350X350', $this->350X350])// THiS LINE
->andFilterWhere(['like', 'Largeimagepath', $this->Largeimagepath])
My table name is 350X350, at time of crud generation i got error which is showing as above. What i do?