Re: [PHP] Setting variables from a text file

2001-11-14 Thread Rudi Ahlers
ot; <[EMAIL PROTECTED]>; "PHP General" <[EMAIL PROTECTED]> Sent: Wednesday, November 14, 2001 10:11 PM Subject: Re: [PHP] Setting variables from a text file > Someone may have a better way but you can read each line (assuming the file > uses \n for a new record) and u

RE: [PHP] Setting variables from a text file

2001-11-14 Thread Matthew Luchak
Lewis [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 14, 2001 3:12 PM To: Rudi Ahlers; PHP General Subject: Re: [PHP] Setting variables from a text file Someone may have a better way but you can read each line (assuming the file uses \n for a new record) and use: arrayn

Re: [PHP] Setting variables from a text file

2001-11-14 Thread Jeff Lewis
t :) Jeff - Original Message - From: "Rudi Ahlers" <[EMAIL PROTECTED]> To: "PHP General" <[EMAIL PROTECTED]> Sent: Wednesday, November 14, 2001 3:08 PM Subject: [PHP] Setting variables from a text file > Hi > > Say I have a text file, separated by "

[PHP] Setting variables from a text file

2001-11-14 Thread Rudi Ahlers
Hi Say I have a text file, separated by "|" ( a pipe). Now, I want to extract that info, in the form of variables. I can extract and display the info in the text files, but that's not what I want. I want to be able to tell it that the first entry should be variable1, the second entry should be va