PHP error on PowerStore page
After the Digital File Pro user interface issue was resolved, when testing the page, I get the following error:
Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in C:\inetpub\wwwroot\Jewelry\Admin\Products_Update.php on line 149
The code chunk involved is the following:
142 <?php
143 // WA_UploadResult1 Params Start
144 $WA_UploadResult1_Params = array();
145 // WA_UploadResult1_1 Start
146 $WA_UploadResult1_Params["WA_UploadResult1_1"] = array(
147 'UploadFolder' => "../images/products/full/",
148 'FileName' => "[FileName]",
149 'DefaultFileName' => "\" . $row_WADAProducts[\"ProductImage\"] . \"",
150 'ResizeType' => "0",
151 'ResizeWidth' => "400",
152 'ResizeHeight' => "400",
153 'ResizeFillColor' => "#FFFFFF" );
154 // WA_UploadResult1_1 End
155 // WA_UploadResult1 Params End?>
The offending line seems to be:
149 'DefaultFileName' => "\" . $row_WADAProducts[\"ProductImage\"] . \"",
But, I can't find anything wrong there. Can you help?
Best - Joe