Jump to content

[SOLVED] Simple SELECT statement question


Siggles

Recommended Posts

Hi, I have a dbase with some gigs that has a date field. The SELECT statement currently says...

 

SELECT * FROM `Gigs` ORDER BY `Eventdate` ASC LIMIT 3

 

which works fine but I also want the statement to only show gigs that havent happened yet or that are > than today's day. I tried WHERE Evevntdate > CURRENT_DATE or something along those lines but so far havent got it to work.

 

Any ideas?

 

Thanks

Link to comment
https://forums.phpfreaks.com/topic/78769-solved-simple-select-statement-question/
Share on other sites

Archived

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

×
×
  • Create New...

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.