Re: [PHP] Using a file to make an array

2001-11-27 Thread Hank Marquardt
You're making this real hard on yourself ... and you didn't really look at the file ... it's *tab* delimited, not spaces ... so this works just ducky on the file you attached: #!/usr/bin/php4 -q $field\n"; } } } ?> file() sucks the whole file int

[PHP] Using a file to make an array

2001-11-27 Thread Yoed Anis
Hey Guys, I'm having a trouble I can't seem to solve and hoped maybe one of you might take a look and see if you can help me. (If you don't want to learn my approach just skip to the bottom to help me with the final bit.. skip to "hear") What I want to do is open the text file testtext.txt (atta