PHP explode array then loop through values and output to variable

后端 未结 5 587
眼角桃花
眼角桃花 2020-12-15 11:07

The string I am trying to split is $item[\'category_names\'] which for example contains Hair, Fashion, News

I currently have the following

5条回答
  •  再見小時候
    2020-12-15 11:35

    PHP explode array by loop demo: http://sandbox.onlinephpfunctions.com/code/086402c33678fe20c4fbae6f2f5c18e77cb3fbc2

    its works for me

    
    

提交回复
热议问题