$_GET returning filter value?

Got something cool to share with AppGini users? Feel free to post it here!
Post Reply
User avatar
D Oliveira
AppGini Super Hero
AppGini Super Hero
Posts: 348
Joined: 2018-03-04 09:30
Location: David

$_GET returning filter value?

Post by D Oliveira » 2020-10-20 17:41

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

User avatar
jsetzer
AppGini Super Hero
AppGini Super Hero
Posts: 1817
Joined: 2018-07-06 06:03
Location: Kiel, Germany
Contact:

Re: $_GET returning filter value?

Post by jsetzer » 2020-10-20 18:38

Can you try this instead:

Code: Select all

$catg = makesafe($_GET["FilterValue[13]"]);
echo 'testing:  '.$catg;
Kind regards,
<js />

My AppGini Blog:
https://appgini.bizzworxx.de/blog

You can help us helping you:
Please always put code fragments inside [code]...[/code] blocks for better readability

AppGini 24.10 Revision 1579 + all AppGini Helper tools

User avatar
D Oliveira
AppGini Super Hero
AppGini Super Hero
Posts: 348
Joined: 2018-03-04 09:30
Location: David

Re: $_GET returning filter value?

Post by D Oliveira » 2020-10-20 20:38

As always very helpful, thanks Jan :)

Post Reply