Alternate Ranges
-
- Posts: 66
- Joined: Thu Jan 12, 2012 3:54 pm
- Contact:
Alternate Ranges
OK so the new project I'm working on is a system to let you create strawpolls and set expiry times for them. I am currently using a range to create the array to allow the user to select a number of hours. Is there a way of increment the array on 15 so that I'd have the array going 15, 30, 45, 60, 75, 90, 120, 135 and so on and so on? Is there a function similar to range() that does this or do I have to define my array manually?
-
- Posts: 66
- Joined: Thu Jan 12, 2012 3:54 pm
- Contact:
Re: Alternate Ranges
Got it sorted now