Re: please help me I try to post my question to Php.net 2-3times

From: Date: Thu, 16 Feb 2006 09:34:23 +0000
Subject: Re: please help me I try to post my question to Php.net 2-3times
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-230524@lists.php.net to get a copy of this message
wvolks wrote "...but when I display data in text file it compress space in each lines..." Sounded to me like he wanted all the blank spaces he put into the string, but when he "displayed" it, the spaces were gone. Since html ignores more than one blank space between printable characters, I suggested he substitute &nbsp; for the blank spaces. He also said "I want fixed possition . please help me ?", and so I tried to help. Regards, HTD ----- Original Message ----- From: "Barry" <barry@Flyerheaven.de> To: <php-general@lists.php.net> Sent: Thursday, February 16, 2006 12:37 AM Subject: Re: [PHP] please help me I try to post my question to Php.net 2-3times
Hugh Danaher wrote:
If you want to preserve the blank spaces then try; str_replace(" ", "&nbsp;", $contents); // &nbsp; is html for blank space. HTH HTD
no he don't: qote: read text file to array string -- Smileys rule (cX.x)C --o(^_^o) Dance for me! ^(^_^)o (o^_^)o o(^_^)^ o(^_^o) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.375 / Virus Database: 267.15.6/257 - Release Date: 2/10/2006
-- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.375 / Virus Database: 267.15.6/257 - Release Date: 2/10/2006

« previous php.general (#230524) next »