A PHP Error was encountered

Severity: Notice

Message: Undefined index: date

Filename: controllers/m.php

Line Number: 226

Database Error

A Database Error Occurred

Error Number: 1

SQL logic error or missing database

SELECT id FROM (works) WHERE date > ORDER BY date ASC