This is where I get my file:

$path2title = ("myfile.txt");
$file = file($path2title);

Then in the php below I do:

<? echo $file[45]; ?>

What it does is it opens the file and reads line 45, but I want it to read line 45, column 14.. is it possible?

Thanks,
Eddie
eddie@staticreverb.com

    Hm.. I am not sure if I understand your question. Do you mean character @ position 14?
    If so then:
    <?PHP echo( substr($file[45], 13, 1));?>
    13 because it counts from 0.

      Yuriy,

      Yes, I want it to start readling at line 45 and position 14, not just that one character.

      Thanks,
      Eddie

        Write a Reply...