Re: PHP sample code for XMLHttprequest with jQuery
| From: | Jochem Maas | Date: | Fri, 30 Mar 2007 22:31:27 +0000 |
| Subject: | Re: PHP sample code for XMLHttprequest with jQuery | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-251814@lists.php.net to get a copy of this message | ||
Otto Wyss wrote:
> I'm currently evaluating jQuery as a Javascript library for my web site
> but first would like to see a working sample with PHP doing
> XMLHttprequest. Is anyone else using jQuery and has some sample code to
> look at?
post.php
--------- >8 ----------------
<?php
echo (!empty($_POST) ? 'post arrived' : 'mail lost in transit');
?>
now point your 'ajax' request at post.php
>
> O. Wyss
>