Re: htmlentities()

From: Date: Sat, 17 Nov 2007 12:53:00 +0000
Subject: Re: htmlentities()
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-264741@lists.php.net to get a copy of this message
Hi,
I tried to understand htmlentities by putting this code into a test.php: [...] The output on the screen is: field1=*Greater input and lower input* field2=<b>Greater input and lower input</b> <b>Greater input and lower input</b> A 'quote' is <b>bold</b> A 'quote' is <b>bold</b> I expected that it would give me in the second line: field2=&lt;b&gt;Greater input and lower input&lt;/b&gt; and the lower two lines I expected as: A 'quote' is &lt;b&gt;bold&lt;/b&gt; A &#039;quote&#039; is &lt;b&gt;bold&lt;/b&gt; What do I miss understand here
did you try to 'view-source' the page ? -- Ludovic André

« previous php.general (#264741) next »