I'm using the latest Wordpress release with the default theme.
I have a function similar to this which is included and called from within a page (using exec-PHP).
<?php function myFunc($value) {
while () // some condition {
echo $value;
}
?>
<?php myFunc('val'); ?>
the output of the echo function is appearing at the bottom of the page instead of appearing within the correct page content section.
How can I fix this?