<?php$randnum=10;    //随机数量$randids='';$randdh='';for($i=1;$i<=$randnum;$i++){$randids.=$randdh.rand(5000,10000);    //1为最小ID,100000为最大ID$randdh=',';}?>[ecmsinfo]0,4,44,0,3,34,0,'','id in ('.$randids.')'[/ecmsinfo]