Alternate Ranges

Ask about a PHP problem here.
Post Reply
wrichards8
Posts: 66
Joined: Thu Jan 12, 2012 3:54 pm
Contact:

Alternate Ranges

Post by wrichards8 »

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?
wrichards8
Posts: 66
Joined: Thu Jan 12, 2012 3:54 pm
Contact:

Re: Alternate Ranges

Post by wrichards8 »

Got it sorted now
Post Reply