limit offset array php
snippet in php

limit offset array php

user7336

array_slice($array, 0, 50); // same as offset 0 limit 50 in sql