I have a table with dates in the form off yyyy-mm-dd.
How would I be able to loop through this table and display an echo saying for instance "1 day between these date's"?
I know how to find the difference using this but I don't know how to loop through and get the difference from a mysql table
$interval = $newDate->diff($datetime2); //(http:www.php.net/manual/en/datetime.diff.php)