Anthony Ritter <mailto:[EMAIL PROTECTED]>
on Thursday, March 25, 2004 12:41 PM said:
ok first of all your email was pretty confusing.... until i read the
entire thing! not that it's long, but that you sign off before you're
even done with it.
but i digress...
> $new = htmlspecialchars("<a href='test'>Test</a>", ENT_QUOTES);
> echo $new;
>
> // this is what is output:<a href='test'>Test</a>
> // instead of this...
> // <a href='test'>Test</a>
when you say "output" do you mean, what you see in the browser, or what
you see when you view source?
< is going to appear as a < in the browser. if you view source you
should see <.
please specify.
chris.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php