Page 1 of 1

$_GET returning filter value?

Posted: 2020-10-20 17:41
by D Oliveira
Hi, this is my attempt to get a filter value with php from this url param:

Code: Select all

$catg = makesafe($_GET["FilterValue%5B13%5D"]);

echo 'testing:  '.$catg;
It returns empty, does anyone know how to make this work?

Thank you

Re: $_GET returning filter value?

Posted: 2020-10-20 18:38
by jsetzer
Can you try this instead:

Code: Select all

$catg = makesafe($_GET["FilterValue[13]"]);
echo 'testing:  '.$catg;

Re: $_GET returning filter value?

Posted: 2020-10-20 20:38
by D Oliveira
As always very helpful, thanks Jan :)