How to create the PHP Script to Calculate the Age Using the
Inputs Of our Birth date and the Current date?
Answer Posted / nirav desai
<?php
$a = date('Y',strtotime('1985-10-15'));
$b = date('Y');
$c = $b-$a;
echo "Current age is:: ".$c." Years .";
?>
Is This Answer Correct ? | 5 Yes | 3 No |
Post New Answer View All Answers
What are php data types?
What are include() and require() functions?
my english is not too good then what we apply for a php programer post
Explain which cryptographic extension provide generation and verification of digital signatures?
Are php sessions cookies?
What is the use of mysql_fetch_array in php?
What is scope of variable in php?
What are interfaces in php?
Explain Booleans in PHP?
What is crypt () in php?
How I can control asset documents without GR/IR?
What is final keyword in php?
What is the goto statement useful for?
Tell me how stop the execution of a php scrip?
sort term descripttion form, report and uery