Hi
Is there a way to include some text like you do with include, only not from a file. I have wrote a script where all the text is stored in a database, i read the text but the text contains some php script. When i echo the text it just displays the php code. But when i put the text in a file and let him include it, he runs the scripts. Is there also a command that do the same only for strings, or is the only possiblity with files.
Thx
ChoKamir
rtfm http://www.php.net/manual/en/function.eval.php
K
thx, i already thought about such a function, but couldn't found it:S Sorry guys for such a easy question.
Thx any way
See eval();
-Ben
great, now ChoKamir is confused. Who is the real Ben? grin
ChoKamir, happy to help (I say this on behalf of all the Ben's in the PHP world).
-Ben (serial number M1991A1.45AR15-5,56)
Hey - REAL "Bens" have their own DOMAIN NAME...
eval() that! =)