I just can't see it. This code looks so simple. Can anyone see why it's returning the warning: "Supplied argument is not a valid File-Handle resource" for the feof and fgets lines ??
<pre>
$fp = fopen ($filename, 'r') || die ("Can't open file $filename");
while (!feof ($fp)) {
$rowc++;
$row = fgets ($fp, 1000);
...
</pre>
When I echo $fp following the fopen, its value is 1.
P.S. I did do a search and found some possibly useful links, but all were broken!?