Answer the question
In order to leave comments, you need to log in
How to get a key-value array from a database?
For the filter in the GridView, I need to get the User id and his name. How can I get it from the table and cast it to an array like
array [
id => 'name',
id => 'name'
// и тд
];
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question