I have a sending emails php page which send email with same dates retired from mysql databes table this is a sample code:
$msg.="Date: ".$datatmp["arivaldate"]."\r\n";
where arivaldate
is the field containing the date in the mysql databse table I want to add another variable to calculate the difference between arivaldate
and Now()
something looks like :
$msg.="Date: ".$datatmp["arivaldate"]."\r\n";
$msg.="Arrive In: ".$Idontknowwhat."\r\n";
Please Help
I believe this is very easy and simple bu I still did not get any answer