1) In PHPmyADMIN, how do I set the default date to change everyday (If a user submits data in a form, I want that day's date to be automatically attached without any user input)
2) Say I want to dump everything older than 1 week into something called an archive. I write a script
Code: Select all
SELECT something FROM table WHERE date=? ORDER BY id";Looking forward to a few answers
Thanks.