Jump to content

Remove White Space


The Little Guy

Recommended Posts

When I get contents of a file, there is a lot of white space, and it is saved to the database. How can I remove it and replace it with a single space?

Here is an example of how it is saved:
[code]
 
   
 
 
   
               
                 
                  Home
                 
                  Sign Up
                 
                 
                 
                 
          FAQ
                 
                 
                  Imprint
                  Contact
                 
               
             

 
 
   
 
 
   
 
 

   
     
       
         
           
         
         
           
         
         
           
         
         
           
             
               
                 
               
               
                 
                 
                 

               
                 
               
             
             
               
                 
                      LinkUs
                     
                      Topliste
                     
                      Vote
                     
                     
                      Webmasterlinks
                     
                      Werbung buchen
                   
               
             
             
               
                     Login
                 
               
             
             
               
               
                 
                     
                       
                         
                            Login
                         
                         
                            Name:
                           
                         
                         
                            PW:
                           
                         
                         
                           
                             
                              Password Lost
                         
                       
                   
               
               
               
             
             
               
                     Stats
                 
               
             
             
               
               
               
                  Stats
               
               
                  17262
                    Members
               
               
                  Anmeldungen heute: 4
               
               
                  Anmeldungen gestern: 1
               
               
               
               
                   
                 
               
                   
               
               
                   
               
             
           
             
             





Welcome!


Get 255 MB Webspace, a Subdomain and E-Mail forwarding ([email protected])
for free!
Erotic and Commercial Content is also allowed.






















       
               
                         
               

               
                         
               

               
                        Domain-Check
               


       
       
       
               
                       
               

               
                       
               

               
                       
                       
                       




Enter your desired Domain-Name:



www.speedsurf.to/




       











     
       
         



Sign Up now and get started in less than a Minute!

             
           
       
     

       
       


online-advertisingSurftips:
free-traffic 
website-traffic
mode
autosurf 
wholesaletraffic
website-promotion 

privat-krankenversicherung 
vorsorge  webspace 
free-web-space 
autohits
auto-hits 
werbung 
versicherungs-vergleich 
free-templates 
bannertausch 
sponsor
cashmail webmarketing
aktionsangebote 
kostenloses 
kunst 
gemaelde
galerie
vhs-digitalisieren
fragezeichen
mehr-besucher
scream
             
           
             
         
           
           
           
         
         
           
         
       
     
   
   
     
   
 


 
    0.024 Sekunden (6 Mysql Querys) @ Version: 2.8.5
 
 
   
 
 
   
 
 
   
 


[/code]
Link to comment
https://forums.phpfreaks.com/topic/29851-remove-white-space/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.