摘要: $jieshaos=file(jieshaos.txt");//读取文本文件jieshaos.txt内容存入函数$jieshao (此时为数组) $jieshaoc=count($jieshaos);// 获取数组个数 $jieshaor=rand(1,$jieshaoc);//生成 1到数组个数最 阅读全文
posted @ 2020-08-12 16:05 JS脚本 阅读(1506) 评论(0) 推荐(0)