note 4036 deleted from eval by jmoore

From: Date: Tue, 15 Aug 2000 00:09:40 +0000
Subject: note 4036 deleted from eval by jmoore
Groups: php.notes 
Request: Send a blank email to php-notes+get-1854@lists.php.net to get a copy of this message
I am having a horrible time with eval. I have a variable that contains raw html code, so I use eval() as such: $var = eval("?>" . $var); For some reason, when i echo it out, it outputs a bunch of "1"s. Why?

« previous php.notes (#1854) next »