I’ve found a function to spin text while browsing.
When you then, at the end, input the following line:
echo spin('{This|Here} is {some|a little bit of} {example|sample} text.');
Then it will give you eg. “This is a little bit of example test.”
Now, I’d like to pull the text I’d like to spin from another file, so that “{This|Here} is {some|a little bit of} {example|sample} text.” is in eg. spintext.php. I can’t really make it to work. Because eg. the following (and different variations on this) doesn’t work:
$text = include("/home/domainpath/public_html/files/spintext.php");
echo spin('.$text.');
Hope someone can point out what’s wrong with the above.
Try this.