MySQL. It's free and it's a relational database. Then add your PHP-code to do the work.

Kees