php - MySQL How to SELECT data from table which recorded today? -
use php , mysql. in table, there date field (datetime) recorded now() sql function. example value of data in field 2010-10-07 10:57:36. how can select data day-month-year today. try use code below:
select * table date=????
select * table date(date)=curdate()
Comments
Post a Comment