Waldo Pepper
02-23-2011, 12:26 AM
Hi,
I'm not sure whether this would be better as PHP or Javascript, so thought i'd try here first.
Basically what I want is to display on a line in my website that "The next ferry leaves in XX mins". The website page is in PHP.
I have a ferry timetable, which leaves at varying intervals throughout the day. There are 2 timetables, one for Monday to Friday, the other for Saturday/Sunday.
Is this achievable?
I've seen it done in iPhone apps, in fact I have an app on my iPhone for this very ferry schedule.
I know a little bit of both PHP & Javascript, but only enough to get me into trouble and to think that it could be done in either of these.
Thanks for your help,
WP
I'm not sure whether this would be better as PHP or Javascript, so thought i'd try here first.
Basically what I want is to display on a line in my website that "The next ferry leaves in XX mins". The website page is in PHP.
I have a ferry timetable, which leaves at varying intervals throughout the day. There are 2 timetables, one for Monday to Friday, the other for Saturday/Sunday.
Is this achievable?
I've seen it done in iPhone apps, in fact I have an app on my iPhone for this very ferry schedule.
I know a little bit of both PHP & Javascript, but only enough to get me into trouble and to think that it could be done in either of these.
Thanks for your help,
WP