Jump to content

Archived

This topic is now archived and is closed to further replies.

LiamG

select statement : today

Recommended Posts

Hi guys...hope all are well.

 

How does one say, like:

SELECT * FROM `calendar` WHERE date = ---TODAY--- ORDER BY `date` DESC LIMIT 0,1
??

 

Thanks,

 

LiamG.

 

ps - also - like --TODAY-- + 1 day

Share this post


Link to post
Share on other sites

get the date via php\'s date() function and embed it into the query. :D

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.