[PHP] Re: file( ) function

2006-06-08 Thread Adam Zey
Mayank Maheshwary wrote: Hi, I am facing some trouble with the file( ) function. I understand that it returns the contents of the file in an array. Also, I am able to print the lines using the echo function. However, whenever I try to compare the contents of an array using strcmp, or ==, the

[PHP] Re: file( ) function

2006-06-07 Thread David Robley
Mayank Maheshwary wrote: Hi, I am facing some trouble with the file( ) function. I understand that it returns the contents of the file in an array. Also, I am able to print the lines using the echo function. However, whenever I try to compare the contents of an array using strcmp, or ==,