a simple library system written in php and mysql