as at the moment i have the code below but for some reason the templates output it as text and not as the generated php code
I use a HTML template with tags which then converts to php output
As it is the only thing i get are the generated results below on the page display render. Shows all pages generated. I need to insert that into the template for output. Ive tried ob_start(); etc then using a str_replace to insert it into the template but then the $start=$i; dont work. ONly solution i can think of that might work is teh above to actually replace %CODE% with the segment below.