Re: [PHP-DB] Date question
by LJ Regalado other posts by this author
Mar 12 2006 8:12PM messages near this date
Re: [PHP-DB] Date question
|
[PHP-DB] Ye old $_SESSION variables :)
For example, you have table `logs` with `datelog` field and you want to
select dates
that match 2006-02. You can try this select statement:
SELECT * FROM `logs` WHERE MONTH(datelog)='02' and YEAR(datelog)='2006'
Hope that helps.
LJ Regalado
Attachments:
unknown1
Thread:
Gerry Danen
Gerry Danen
Bastien Koert
Gerry Danen
Chris
LJ Regalado
|