Why if using something like this cant you add PHP, but only echo and include?
In other words why can you not call to another PHP function or place another PHP tag in a sample like above?
This will work for this specific plugin, but;;;;
But there have been many situations where trying to place something like the above will absolutely not work.
If there is a beginning <?php tag and an ending ?> php tag inside the above why will it not work?
PHP Dummy, thanks again, Jer ..........
Code:
<?php if (is_page('5') ) {
echo '<?php dgrs_get_post_positive_ratings($post->ID); ?>';
}
?>
In other words why can you not call to another PHP function or place another PHP tag in a sample like above?
This will work for this specific plugin, but;;;;
Code:
<?php if (is_page('5') ) {
echo 'dgrs_get_post_positive_ratings($post->ID)';
}
?>
But there have been many situations where trying to place something like the above will absolutely not work.
If there is a beginning <?php tag and an ending ?> php tag inside the above why will it not work?
PHP Dummy, thanks again, Jer ..........