What you should probably do is read all of one file or the other (whichever is expected to be smaller) into an array, and then use a foreach loop to walk through that array each time you read a line from the (other) file.
In reply to Re: Search Script
by Roy Johnson
in thread Search Script
by arebc
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |