delete records by a column with date
| From: | Manuel Dominguez Jr. | Date: | Sat, 10 Feb 2001 00:01:45 +0000 |
| Subject: | delete records by a column with date | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-6522@lists.php.net to get a copy of this message | ||
there is a column in a mysql database called expires that has type date and
i was wondering what php code would be needed to delete all records that
have dates that have expired
something like
delete from expires where curdate > expires;
something like that.