Re: [PHP] Reading semi formatted text file

2001-12-24 Thread Jim Lucas [php]
ed array called new_array that contains your rows broken up into key=>value pairs. Jim - Original Message - From: "Chris Steitz" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, December 24, 2001 9:12 AM Subject: [PHP] Reading semi formatted text file 2

[PHP] Reading semi formatted text file

2001-12-24 Thread Chris Steitz
201 PNCPS FINANCIAL ACCT 10027 3 8.00- 8.50 MWFGSB 400 I have a text file with rows similar to that above. I need to read the data in the rows into an array. fscanf likes to split the line into elements by spaces and I get 201,PNCPS,FINANCIAL,ACCT etc... and I need results l