> echo $row[code];

You want eval, but since your code starts off with HTML, and eval expects to
be doing PHP, you need to do more like:

$html = $row['code']

In essence, you are sorta doing the opposite of how include automatically
switches back to HTML mode, and you break out of PHP to "eval" your HTML...

This $html isn't coming from untrusted web-surfers, is it?...

That would be *really* dangerous, as you're giving them complete access to
installing any PHP scripts they like on your server...

WARNING [EMAIL PROTECTED] address is an endangered species -- Use
Wanna help me out?  Like Music?  Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm

PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to