Adds database handler in PHP