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 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@xxxxxxxxxxxxxx>
To: <php-general@xxxxxxxxxxxxx>
Sent: Thursday, February 16, 2006 12:37 AM
Subject: Re: 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(" ", " ", $contents); // 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
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php