Pure PHP Templating Class/AJAX Problem
| From: | Tom Shaw | Date: | Mon, 13 Oct 2008 21:00:34 +0000 |
| Subject: | Pure PHP Templating Class/AJAX Problem | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-281837@lists.php.net to get a copy of this message | ||
I use a pure templating class similar to something that I found here
http://www.talkphp.com/advanced-php-programming/2568-pure-php-template-class
.html. My question is how do you handle AJAX requests from XMLHttpRequest
(); My class pumps out the entire page over again after the AJAX request is
made. In other words the page is displaying twice.
Thanks
Tom Shaw
php.coder@tx.rr.com
"Common sense is the knack of seeing things as they are, and doing things as
they ought to be done."
Harriet
<http://www.coolquotes.com/categories/harriet_elizabeth_beecher_stowe.html>
Elizabeth Beecher Stowe