Posted by Jerry Stuckle on 07/11/07 13:13
ZeldorBlat wrote:
> On Jul 10, 4:41 pm, Brian Kendig <b...@enchanter.net> wrote:
>> Well, I don't have THAT much foresight. I don't want to go using
>> wrappers for every built-in PHP function on the off chance that
>> someday I might want to extend their functionality. :)
>
> Why not?
>
I agree with Brian. I don't write wrappers for PHP functions. It's a
huge waste of time - both programming and processing.
In this case I would just convert the time to something strtotime()
accepts when I get it from the form.
Or, more likely, I would already have an OO approach involved and change
the class.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
[Back to original message]
|