Forum Moderators: coopster
I have a column in my table that i want to store id numbers that will corelate to another table. So one row will have a space that contains:
'55,56,58,62,73,103, etc...'
How do I take this information and split it up into an array, or at least make it useful so I can then take the numbers, and query those ID's on the other table to get the corresponding information?
Thanks!
Alternatively, you could structure the other query to use the numbers in array format:
SELECT * FROM sometable WHERE thenumber IN ($idnumbers)
where $idnumbers is your comma delimited list.