note 7163 deleted from eval by jmoore

From: Date: Tue, 15 Aug 2000 00:13:00 +0000
Subject: note 7163 deleted from eval by jmoore
Groups: php.notes 
Request: Send a blank email to php-notes+get-1864@lists.php.net to get a copy of this message
Answer to: ddortch@netscape.net It could be I'm wrong - it's just a guess ! eval() is doing the right thing here. What you're trying to do is echo php AND html. eval() can't really echo html, and here the '1' s are results of logical expressions. for example, when you write s.th. with html-tags in it, I reckon php evaluates this as a boolean expression in which the '<' and '>' work as operators.. the '1's are actually 'true's..

« previous php.notes (#1864) next »