substr(“Hello world!”,3,5)是指在字符串中在第几位开始,取几个字符串
<?php echo substr("Hello world!",3,5).""; echo substr("Hello world",0,10)."
"; echo substr("Hello world",1,8)."
"; echo substr("Hello world",0,5)."
"; echo substr("Hello world",6,6)."
"; ?>
结果就是
MYSQL limit
limit(5,10)是指5到10行数据