Friday, November 09, 2007

add_date_with_today($days)

function add_date_with_today($days)
{

$sql="select DATE_ADD(CURRENT_DATE(),INTERVAL ".addslashes($days)." day)";


$dat=dbquery($sql,"single");
return(toUkDate($dat[0]));

}

Powered by ScribeFire.

No comments:

Post a Comment