Split comma separated values from a table column into rows using php

Would anyone have an idea or point me in a direction on how I would be able to split a comma separated field into it’s own rows on another table? I’m currently using php and mysql. Greatly appreciated. Thanks.


The explode function is what you’re looking for

1 Like

Oh yes, I’m thinking I need select from the database, iterated through
the rows and explode (explode function) the rows that have comma
delimited values then insert into it’s own table. Thanks.

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.