PHP code Apache server to MySQL (wamp stack)