hi
i have this statement at top of one of my files
$day = date(d);
$month = date(m);
$year = date(Y);
$del = "delete from message_post where EXday = \"$day\" and EXmonth = \"$month\" and EXyear = \"$year\" ";
$rdel = mysql_query($del) or die(mysql_error());
it deletes a posting on its expiration date.
What i want to try and do is IINSERT the data from the post to another table before its deleted and then DELETE it from the existing table as per the above command
Is it possible to just add an INSERT to the $del variable with an AND or something ??
thanks