Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while ( count($rand_feed_limited_index) < 50) {
- $x = mt_rand(1, count($feed));
- if ( !in_array($x,$rand_feed_limited_index) ) {
- $rand_feed_limited_index[] = $x;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement