Hi!
First I wan´t to thank those kind guys who helped me with the search for
words in a string. It works fine and here goes my file:
---
$fd = fopen($filename1, "r");
$string = fread($fd, filesize($filename1));
fclose($fd);
if (eregi("$word", $string)) {
print "found the word";
}
-----
Now I also wan´t to know to in which row the word was found.
Is there a simple way to add some code?
Thanks for any tips.
Regards
Jan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]