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

2006-02-16 Thread Kim Christensen
On 2/16/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > $filename =3D "c:data.txt"; > $contents =3D file($filename); > echo $contents; > ?> > // data in text file is "1_2_3_4" < _ =3D blank> > // output is "1 2 3 4" > // I want fixed possition . please help me ? I'm not really sure

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

2006-02-16 Thread Barry
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

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

2006-02-16 Thread Hugh Danaher
If you want to preserve the blank spaces then try; str_replace(" ", " ", $contents); //   is html for blank space. HTH HTD - Original Message - From: <[EMAIL PROTECTED]> To: Sent: Wednesday, February 15, 2006 10:26 PM Subject: [PHP] please help me I try to post my question to Php.net 2