Archive for the ‘PHP & MySQL’ Category

What’s my age again?

Posted: 8th March 2011 by yanenrogne in PHP & MySQL, Programmation

Here’s a first “code snippet” that I will be sharing. It is only a quick math to guess the age of a person with his/her birth date. I was working on PHP with a MySQL database. The format used for the birth date was in a form with three inputs, one for year, month and day <?php $age [...]