hello sir..i am wondering how to calculate between two dates..here is my code:
<input type="text" name"date1" value="mm/dd/yyyy">
<input type="text" name"date2" value="mm/dd/yyyy">
<input type="submit" name"calculate" value="calculate">
<?php echo $answer;?>
example value of date1 is 09/26/2010
example value of date2 is 09/27/2010
so the answer should be 1 by subtracting date2 to date1
i hope you can help me with learning php..thanks daniweb -aizel