I want to select some id\'s based on url string but with my code it displays only the first. If i write manual the id\'s it works great.
I have a url like this http:
You can also try FIND_IN_SET() function
$SQL = "select * from info WHERE FIND_IN_SET(`id`, '$ids')"
OR
$SQL = "select * from info WHERE `id` IN ($ids)"