Hi,
Let's say I have a PHP file (index.php) that displays another PHP file (info.php) within a textarea using file_get_contents() function. Is it possible to define some sort of tags in info.php so that index.php will only get the content between those tags?
For example, let's say info.php is like the following:
Is there a way to get only the content between display tags or something like that?PHP Code:<?php
// Some PHP code here...
[DISPLAY]
Content I want to display...
[/DISPLAY]
// Some PHP code here...
?>



Reply With Quote
Bookmarks