php - Unexpected T_String -
unset($item_row); $item_row = array(); if ($row[1] == "bcp-prod1"){ $row[1] = "bcp-product1"; $item_row['nid'] = 71; $item_row['title'] = 'product1 - title'; } elseif ($row[1] == "bcp-sillyneck"){ $row[1] = "bcp-prod2"; $item_row['nid'] = 77; $item_row['title'] = 'products2 - title 2'; }
the error getting is:
parse error: parse error, unexpected t_string in import_orders.php on line 89
line 89 $item_row['nid'] = 71;
must looking on cause not seeing causing this?
the issue because have unclosed single quote ('
) somewhere before line.
try use syntax-highlighting editor on. it'll debugging since kind of error apparent...
Comments
Post a Comment