query params with empty values

13 views
Skip to first unread message

Oliver Brodwolf

unread,
Jan 11, 2024, 8:46:09 AM1/11/24
to Active4D
Hello

In a request with
test.a4d?a&b&c

Active4D create the _query collection with one element:
"a&b&c" = ""

4D's  WEB GET VARIABLES($aNames;$aValues) creates 3 elements:
$aNames["a";"b";"c"]   $aValues["";"";""]

PHP creates 3 elements:
$_GET  = array (  'a' => '',  'b' => ''  'c' => '')

Is it possible to switch Active4D to get a collection with 3 elements?
"a" = ""; "b" = ""; "c" = ""

Regards, Oliver

Reply all
Reply to author
Forward
0 new messages