Tag: mysql

If you have ever needed to calculate the age of someone based on their date of birth, then you might have been left puzzled at first. Many people seem to over complicate things, so in this article, a simple function is provided to convert dates to ages.

Read More Calculate Age From Date of Birth in MySQL

MySQL

This article shows how to add foreign key constraints to concrete5 packages or blocks by using db.xml files or a package controller. Using foreign keys is important to help ensure data integrity in the database.

Read More Adding Foreign Keys in db.xml in concrete5

concrete5