And lotsa photo trips…and Silver Screen Photography…don’t forget that
– Christa 2007-01-01 18:14 UTC
Happy new year to you too. Have a good ‘un
– publicenergy 2007-01-01 18:27 UTC
You too, Dave!
And Christa, how could I possibly forget?
– GreyWulf 2007-01-01 18:29 UTC
Well….I might not say anything for a while…hehe
Happy New Year, Dave
– Christa 2007-01-01 18:38 UTC
Firstly Happy New Year!!!
Secondly, GreyWulf, I need your wisdom…
Does PHP support such a feature, similar to VB for Datediff, and “elseif”
Tried php.net, but for some reason its freakishly hard to find what you want, even using the search engine…
The “elseif” stuff is needed for a a date compare,
EG: (in English/VB)
if month(now)=“December” and day(now)=“25” then result=“Happy Christmas”
elseif month(now)=“January” and day(now)=“01” the result=“Happy New Year”
– The Creator 2007-01-01 23:39 UTC
Hey Roy Happy New Year!
Take a look at getdate – this should give you the info you need for getting the current date in a usable format.
I suggest avoiding an elseif type structure. If there’s more than two choices (if….else….) use switch instead as it’s a lot easier to expand as the need arises.
Check out the comments on those two pages – on php.net, the comments are much better than the manual itself
Hope that helps.
– GreyWulf 2007-01-02 00:08 UTC
As always, I’m forever in your debt!!!
– The Creator 2007-01-02 00:28 UTC