[thelist] php date

Warden, Matt mwarden at mattwarden.com
Wed Dec 26 12:52:28 CST 2001


On Dec 26, John Corry had something to say about [thelist] php date

>http://www.sugarbeachresort.net/index.php?page=rates
>
>This is really a question of 'logical approach' more than anything.
>
>At the URL above I have a table for condo rates. I'm about to build a db
>driven site that has this information for about 10-20 properties and need to
>automate part of it. I've got the actual rates coming from the db already,
>that's a given. It's the date ranges that has me stumped because I don't
>want to store that value, I want to generate it based on the current date.
>
>The 'high season' and 'low season' dates change every year. I need to
>automate that change.

Can you explain how they change each year? Is it dependant on something
constant or is it chosen by the owners or...?

And how would this be based on the current date?

Just trying to get a feel for what you want. Surely there's some way to
avoid that icky include file  ;-)

Thanks,

--
mattwarden
mattwarden.com





More information about the thelist mailing list