OK, two extremely simple lines of code, and I don't know what the heck is wrong :mad:
$myFile = file("somefile.txt");
echo $myFile[0];
$myFile[0] should be outputing:
Test+Group+1:06-17-03_20-28-49,06-17-03_20-28-36,06-17-03_20-29-17,
(all on one line)
But instead, it's outputing
Test+Group+1:06-17-03_20-28-49,06-17-03_20-28-36,06-17-03_20-29-17, 06-17-03_20-28-36
As you can see it's displaying a duplicate ( :mad: :mad: :mad: )
This EXACT same code works perfectly fine in another script I have, but returns it incorrectly in the new script I'm trying to create.
I don't know how this could be a bug in PHP (it works perfectly in another script), and since this is the same code I've used, I can't see ANYTHING wrong...grrrrr.
Any help is appreciated.