I'm having difficulties with SQLite3. The table is as follow:
id|name
11|test1
31|test1
51|test1
13|test2
17|test2
..|..
I need to get only one name and all id's for that name, like this:
test1|array(11,31,51)
test2|array(13,17)
...
How can I do it with PHP and SQLite3? Thank you.