Testing interaction of HTML and PHP