Hello,

I was looking for a way to include() from a variable.  I can't just use
eval(), since what's in the variable is a mixed PHP/XHTML.

Well, it turns out that there's an answer in the user notes, which haven't
worked on php.net for a few days.  Basically, you eval("?>" . $stuff);

-- Charles Wiltgen


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to