/t5/dreamweaver-discussions/translate-where-statement-from-asp-to-php/td-p/434128Oct 20, 2007
Oct 20, 2007
Copy link to clipboard
Copied
What would be the PHP equivelant to a ASP/SQL recordset query
that's filtered with
WHERE expire >= getDate()
getDate() does not work with PHP? I've tried things like
WHERE expire >= date('Y-m-d') with no luck. Keep in mind, the
expire data is formatted like this: 2007-10-20 00:00:00 in the
MySQL database (apache server).