select a date....

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

Post Reply
cho@
New php-forum User
New php-forum User
Posts: 39
Joined: Tue Aug 06, 2002 8:58 am
Location: UK

select a date....

Post by cho@ » Thu Sep 12, 2002 5:18 am

Hi
i'd like to delete all the data in a table which are stored since more dan one month....

DELETE FROM table WHERE datefiled > NOW()+ one month.....

is it possible to do like dat.....

how do i had a month to NOW().....
i use a Mysql database...

thanks for ur help

bye

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests