sowna Posted January 27, 2012 Share Posted January 27, 2012 Hi i have two arrays, activity and feed.. contains 100 arrays, $activity = array(0,1,2....,100); contains 5 arrays $feed = array(100,50,25,12,75); I have 7 ranges, (0 -15),(15-30),(30-45),...(90-105) now i need to compare feed array with activity array to find in which range it was... Example, $feed[0] = 100, then it is in (90-105) range $feed[3] = 12, then it is in (0-15) range.. ... how to find this range?? plz help me.. Link to comment https://forums.phpfreaks.com/topic/255865-finding-array-within-range/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.