graham23s Posted February 18, 2008 Share Posted February 18, 2008 Hi Guys, say i have a load of videos in variables like: $vid1 = ('EMBED CODE'); $vid2= ('EMBED CODE'); im not sure how to make them dispaly randomly would this work: $display_random = random(,$vid1,$vid2); or is there another way. cheers guys Graham Link to comment https://forums.phpfreaks.com/topic/91727-displaying-random-videos/ Share on other sites More sharing options...
darkfreaks Posted February 18, 2008 Share Posted February 18, 2008 <?php shuffle($vid1,$vid2); ?> Link to comment https://forums.phpfreaks.com/topic/91727-displaying-random-videos/#findComment-469856 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.