Re: [PHP] Pure PHP Templating Class/AJAX Problem

2008-10-14 Thread Yeti
Well after looking at the template thing you posted with your link it seems to me like PHP is used to create working XML. So i wonder why you are using AJAX here. Now could it be that you use appendChild() ? That function would simply add the XML again. It's not easy to tell if you are not

[PHP] Pure PHP Templating Class/AJAX Problem

2008-10-13 Thread Tom Shaw
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