php echo inside $output
-
I’m trying to get a specific page content from a page and i need to insert this php code:
<?php echo getPageContent(8); ?>
i tried this:
$output .= <<<HTML </div> </div> <div id="hometabs"> echo getPageContent(8); </div> <div class="clear"></div> </div> <div class="bottom_shadow"></div> </div> HTML;
but it doesn’t work.. i even tried:
getPageContent(8); echo getPageContent(8)
still it didn’t
note: i already have code for the getPageContent i’m just not sure why when viewing on my browser, this code: echo getPageContent(8) shows up instead of executing it.
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘php echo inside $output’ is closed to new replies.