<?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]
时间: 2024-11-08 20:21:47