I'd like to know when I write a query like
SELECT id FROM users WHERE expiry > curdate()
How can I work out what the curdate()
is returning? I just switched servers of a site and it appears to be throwing it out, by perhaps returning a different curdate()
.
Thanks