Forum Moderators: coopster
I found this...which BTW is within php tags - also <% main %> is element in seperate template file.
$template = eregi_replace("<% main %>", "$main", $template);
and replaced $main with this and it correctly shows on the site.
$template = eregi_replace("<% main %>", "ABC testing content", $template);
I can also insert image tags to display those as well...but the main thing I want to be able to do is build a seperate page in php (say a calendar for ex.) and include it above between the quotes. I tried the usual include method without any success...so I am sure there might be some syntax I am missing although I didn't get any parse errors.
I can post more code if need be, but I wanted to see if anyone had any possible solutions as I don't want to have to paste a whole page of coding in between the quotes I would like to just "include" it. (may not be possible with the structure of the template var)
Thank you for any help,
Brad