Posted by Alan Robertson on 10/14/19 11:30
"ZeldorBlat" <zeldorblat@gmail.com> wrote in message
news:1130514685.898200.317640@f14g2000cwb.googlegroups.com...
> How about this:
>
> $expiry = strtotime('2005-02-20 16:20:00'); //$expiry is a timestamp
> $query = "SELECT * FROM tbl_market WHERE UNIX_TIMESTAMP(start_date) <
> $expiry";
>
Blooming 'ell.
That worked.
You've saved me a lifetime of scratching my head.
I still don't understand why my way didn't work, but now that it works I
aint touchning it.
Thanks a mill.
Regards
Alan
Navigation:
[Reply to this message]
|