calculate days between 2 dys in php

February 26, 2009 at 21:41:38
Specs: Windows XP
hi everyone,
how to calculate difference between 2 dates,
i am retrieving the dates from html file.
Below is the code where i retrieve the data.
i want to calculate with each and everyone from present date. Its urgent
Thanx in advance

function parse_array($string,$beg_tag,$close_tag)
preg_match_all("($beg_tag(.*)$close_tag)siU", $string, $matching_data);
return $matching_data[0];

$src=parse_array($string,"<td nowrap=\"nowrap\">","</td>");

echo $src[$i]."</br>";
echo "</br>";


See More: calculate days between 2 dys in php

Report •

Report •

February 26, 2009 at 22:26:45
i tried google,
i want the array items to be passed to function. how?

Report •

Related Solutions

Ask Question