Jump to content

How to send an ajax php response


hexduhax

Recommended Posts

Well no, as far as php is concerned, it's just echoing out text. It doesn't care if it's xml or html or javascript or raw image data. It is your javascript that's doing something with it. Now, you can use header to set the content type as xml if you want but again, that's just sending that back to the browser; it's all just text to php, it's the browser and/or js doing something with it.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.