12.01.2018, 16:50
An idea could be to sort the query in some way. Alphabetical, price or table-id's if you have a column index.
Then assign them to arrays in a loop, and show the array in the dialog.
SELECT * FROM my_car_table ORDER BY price DESC
Then on the callback, you can loop through the rows in the result, and add them to the array respectively.
Then assign them to arrays in a loop, and show the array in the dialog.
SELECT * FROM my_car_table ORDER BY price DESC
Then on the callback, you can loop through the rows in the result, and add them to the array respectively.