$ids1 = implode(",",$upload_ids);if(!empty($upload_ids)){ $ids_db= pdo_fetchall('select id from '.tablename('xx').' where FIND_IN_SET(id, :ids) and uniacid= :uniacid',[':ids'=>$ids1,':uniacid'=>$uniacid]);}