sorry about that. i am bad at explaining things
using my php code above, my result is 15,16,17,19,21,23.
i want to turn into an array so that that in my next query to mysql using
SELECT * FROM `phpbb_topics` WHERE `forum_id` = $result
i will get all the topics that are from forum_id 15,16,17,19,21,23 where the actual query would look like
SELECT * FROM `phpbb_topics` WHERE `forum_id` = 15 OR `forum_id` = 16 ...
does that make it any easier to understand?