mysql一个字段多个值如何分别取出这些值

来源网络,未验证。

取得结果后分割成数组
$arr = explode(',',$result['ut_picture']);
这样$arr数组就是
$arr[0]='tupian/1.png';
$arr[1] ='tupian/2.png';
$arr[2] ='tupian/3.png';

  

猜你喜欢

转载自www.cnblogs.com/xiede/p/9129245.html