i want to include a txt file into a php page
the txt file contains say 10 lines of the include commands like so...
include("./file1.dat");
include("./file2.dat");
include("./file3.dat");
include("./file4.dat");
i now need to just call the first 5 lines
of this txt file into a page.(and have the php execute)
it works with include() but i only want 5 lines not the whole file.
echo wont execute the php.
is it eval()????
cant work it out?
help please!
Jim