Hi there!
Is there any way to put the result of a parsed file into a variable?
Here's what I'm trying to do:
$text = (include "hits.php");
$text = preg_replace( "/( ){1,}/", "_", $text );
echo "$text";
But it seems like the first line doesn't put the parsed file hits.php into the $text variable, but instead just include hits.php...
This is just a simplified version of my script, I will be using more complicated regular expressions, but you get the idea...
Thanks in advance / jek