separate with commas

前端 未结 7 1912
南方客
南方客 2021-01-29 13:45

hey there I have this,

$following_user_id .= $row[\'following_user_id\'];

and I get

44443344330

then I use th

7条回答
  •  南方客
    南方客 (楼主)
    2021-01-29 14:44

    $following_user_ids = array();
    
    //loop this:
    $following_user_ids[] = $row['following_user_id'];
    
    $user_ids_string = implode(',',$following_user_ids);
    

提交回复
热议问题