PHP code for database connection