I'm fairly new to PHP and have done some basic work with mysql but am not sure how to approach this. I'm trying to figure out how to create a query with PHP to get all rows with a datetime from 1 week ago to the current timedate.
Note: I'm also not sure how to find a date for 1 week ago with PHP. Any help would be great. Thanks.