PHP mysql 分批查询
你可以查zhidao1W条,然后按每版个数据100条来分。
|
1
2
3
|
也可以每次查权询 100 条
|
1
2
3
4
5
6
|
$start = 0;while($data = select * from table limit $start, 100){$start += 100;} |
你可以查zhidao1W条,然后按每版个数据100条来分。
|
1
2
3
|
也可以每次查权询 100 条
|
1
2
3
4
5
6
|
$start = 0;while($data = select * from table limit $start, 100){$start += 100;} |