$series_array = explode(',',$vod_series); if(count($series_array) > 1 ){ $item_vod = xz_mysql_vod('ids:'.$vod_series.';limit:6;cache_name:default;cache_time:default;order:vod_hits_lasttime;sort:desc'); }else{ $item_vod = xz_mysql_vod('series:'.$vod_series.';limit:6;cache_name:default;cache_time:default;order:vod_hits_lasttime;sort:desc'); }