Answer the question
In order to leave comments, you need to log in
Filtering by word in Bitrix?
Made a filter inside Bitrix via $arrFilter
a class="service__link" href="section.php?SECTION_ID=15&CATEGORY=2">
?php $year = intval($_GET["CATEGORY"]);
if ($year !== 10000000000000000)
{
$arrFilter=array("PROPERTY"=>array("CATEGORY"=>"$year"));
}
?>
a class="service__link" href="section.php?SECTION_ID=15&CATEGORY="vet"">
Answer the question
In order to leave comments, you need to log in
Aren't you confused by double quotes inside other double quotes? Let's try this:
<a class="service__link" href="section.php?SECTION_ID=15&CATEGORY=vet">
Suddenly it works.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question