PDA

View Full Version : Help updating todo mods for DotProject 2?


jmellicker
09-07-05, 06:58 AM
I would like to add options to the popup at the bottom of the todolist to:

increment end date by a day

set end_date to tomorrow

To increment end date, trigger a script like this:

<?php

$sql = "UPDATE tasks SET task_end_date = DATE_ADD(task_end_date, INTERVAL 1 DAY) WHERE task_id=$tid LIMIT 1";

?>

Can anyone help?