Thread
:
PHP Whitespace Replacement
View Single Post
12-12-2012, 01:33 AM
PM User
|
#
9
Fou-Lu
God Emperor
Join Date: Sep 2002
Location: Saskatoon, Saskatchewan
Posts: 15,635
Thanks: 4
Thanked 2,448 Times in 2,417 Posts
That's correct. HTML is what collapses the whitespace, the db and PHP will happily store it. You should even be able to see it in the HTML source code when printed from PHP, but it won't render the multiple spaces.
Users who have thanked Fou-Lu for this post:
Custard7A
(12-12-2012)
Fou-Lu
View Public Profile
Find More Posts by Fou-Lu