Using JSON to transfer Ajax data

JSON is a lightweight data-interchange format meant to be easily used with Javascript. Useful for tranfering data for Ajax. There are two implementations for PHP: JSON-PHP and PHP-JSON (as a C extension).

---