Logo Questions Linux Laravel Mysql Ubuntu Git Menu

How to get params in url , and it is array? yii2

I have url like this


And I want to get DataSearch['Tanggal'] dan DataSearch[TANGGAL_SELESAI]

I have tried for id with


And it was success for it, but not with DataSearch['Tanggal']

When I try for DataSearch['Tanggal'] the error is

 Undefined index: DataSearch[TANGGAL] 

I think it should have easy to answer but i am newbie for yii2 and i didnt find the solution yet

like image 274
Noobs To be Pro Addict Avatar asked Mar 16 '23 02:03

Noobs To be Pro Addict

1 Answers

You can get them from array like this:

like image 159
Jakuje Avatar answered Mar 24 '23 15:03