On Tue, 20 Jul 2004 15:24:59 GMT
"Ian.H" <ia*@WINDOZEdigiserv.net> wrote:
On Tue, 20 Jul 2004 07:15:13 -0700, haoren wrote:
[SNIP]
You should _never_ be echoing a < or > char to the browser, this
should_always_ be < or >.
That's interesting... How do you output HTML from PHP then? :-p
What he's trying to say is that if you want a < or a > to show up in
your browser, you should use < and >, since < and > are the chars
used to delimit HTML tags, so the browser will think that the < or > you
just echo'ed out is part of the HTML.
So, again... If you want < and > to print in e.g. a text, use 'echo
"< and >";'
Madsen
--
Anders K. Madsen ---
http://lillesvin.linux.dk
"There are 10 types of people in the world.
Those who understand binary - and those who don't."
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFA/UhClNHJe/JASHcRAuwPAJ4o6pf0fZ5cP6lTfzCTx1oPTlo0lACeJNWb
0vAnrn3qWfjMMuYs/mS4hes=
=pyP0
-----END PGP SIGNATURE-----