Re: ECHO $variable

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



thank you for schooling me :)  i learn something new everyday!
----- Original Message ----- 
From: "Richard Lynch" <ceo@xxxxxxxxx>
To: "benifactor" <snorris17@xxxxxxx>
Cc: <php-general@xxxxxxxxxxxxx>
Sent: Monday, October 09, 2006 11:02 AM
Subject: Re:  ECHO $variable


> On Mon, October 9, 2006 7:45 am, benifactor wrote:
> > the way i posted worked fine with out either... he doesn't need to use
> > these
> > to format the way his output is displayed, he only needs to use the
> > proper
> > php syntax if i am correct.
> 
> You were wrong, and you're still wrong. :-)
> 
> Try it and see.
> 
> http://php.net/htmlentities is the correct solution.
> 
> htmlspecialchars only catches a tiny subset of what *might* be in the
> string...   So it will work if you can guarantee that only those
> limited set of chars will ever be in there.
> 
> -- 
> Some people have a "gift" link here.
> Know what I want?
> I want you to buy a CD from some starving artist.
> http://cdbaby.com/browse/from/lynch
> Yeah, I get a buck. So?
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
> 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux