Is there any way to not have the php code show in the joomla search results?
What happens is if I add php code to a page and then do a search for something that returns that page in the results and displays the code.
so if my page has:
| Code: |
<p>My New page</p>
<?php echo "Hello world"; ?>
<p>more text here.</p> |
And I do a joomla site search for "New page" the results page show:
| Code: |
Page title
My New page <?php echo "Hello world"; ?> more text here. |
Can this be fixed so php code does not show in results page?
Thanks
-Jeremy