E
E
edkatrich2018-07-11 10:46:00
1C-Bitrix
edkatrich, 2018-07-11 10:46:00

Error syntax error, unexpected 'bxid_755713' (T_STRING), expecting ',' or ';' How to write syntactically correct code?

Error syntax error, unexpected 'bxid_755713' (T_STRING), expecting ',' or ';' How to write syntactically correct code?
Here is the code itself:
<?
if (CModule::IncludeModule("iblock")):
echo "
";
$iblock_id = 15;
$my_slider = CIBlockElement::GetList (
Array("ID" => "ASC"),
Array("IBLOCK_ID" => $iblock_id),
false,
false,
Array(
'ID',
'NAME',
'PREVIEW_PICTURE',
' PROPERTY_DOORTAG',
'PROPERTY_DOORPRC',
'PROPERTY_DOORLINK'
)
);
$img_path = CFile::GetPath($ar_fields["PREVIEW_PICTURE"]);
if($ar_fields['PROPERTY_DOORTAG_VALUE'] == 'RECOMMENDED') $tag = 'hitz';
else if ($ar_fields['PROPERTY_DOORTAG_VALUE'] == 'NEW') $tag = 'novinkiz';
else $tag = 'discontz';
echo "";
echo "".$ar_fields['PROPERTY_DOORTAG_VALUE']."";
echo "";
echo "".$ar_fields['NAME']."";
echo "".$ar_fields['PROPERTY_DOORPRC_VALUE']." rub.";
echo " Order ";
echo "";
}
echo "";
endif;
?>

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question