I'm calling up a particular date from a field in my database using this code (below). I print a result that looks like this Wed May 23, 2007. Let's suppose I wanted to add five days to the result I found in the database so it would now read Mon May 28, 2007. How would I add five days to my result? I know how to do this in mysql for the database , but I can't seem to do it with php to get the desired result. Thanks in advance.
$result = mysql_query("select UNIX_TIMESTAMP(signup_date) from table where whatever='something'") or die (mysql_error());
while ($row = mysql_fetch_array($result)){
$date = $row['UNIX_TIMESTAMP(signup_date)'];
}
echo date("D M d, Y", $date);