Link to home
Start Free TrialLog in
Avatar of PhilJMcDougall
PhilJMcDougall

asked on

Show only records that occur after todays date

Hey guys, having a bit of trouble finding out the code i need so that i only display the records after todays date in a mysql statement. I know its a WHERE command but i cant seem to get it to work.

Basically i have a table for some tour dates and i want the page to only display the dates after & including today only. Then on another page have all the dates that occurred before todays date.

Anyone know the code for the statement?

Cheers
ASKER CERTIFIED SOLUTION
Avatar of divstar
divstar
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of PhilJMcDougall
PhilJMcDougall

ASKER

Managed to figure it out anyway with a NOW() but your one also works.