I'm new to AJAX and working on my very first Ajax application and getting a weird result.

What I'm trying to do is to display a query result in a textarea box. Instead of the query values, the whole php file is being returned in the Request.responseText. Does anyone know what I'm doing wrong?

I appericate for any help in advance.