Hey all. I'm sure this is quite simple but basically I'm displaying a text file in a textarea but only want to display a certain number of lines. I'm using 'fread' but I think you can only set the number of bytes rather than number of lines. Anyway, there are three ways I'm looking at doing it:
1. With the fread function, somehow.
2. When the contents of the text file are stored as a variable.
3. ..or with the 'textarea' field itself.
Just need a little bit of guidance.
Thanks
1. With the fread function, somehow.
2. When the contents of the text file are stored as a variable.
3. ..or with the 'textarea' field itself.
Just need a little bit of guidance.
Thanks







