PHP module for read/write data from MySQL database