Click to See Complete Forum and Search --> : Why is my server side script (the whole code) being returned?


wekkaw
March 10th, 2006, 05:53 PM
Hi,

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.

Wekkaw

mmetzger
March 10th, 2006, 07:21 PM
Does the php page work properly if you call it directly?

amitvb
April 19th, 2006, 12:41 PM
This happens wen there is some kinda error in the code for displaying the page.. see the status code of request object if u wnt to confirm it.