Do you have a question? Post it now! No Registration Necessary. Now with pictures!
October 20, 2012, 10:04 am
rate this thread
I want only to get lines that have certain words in it. As far as I can
see preg_grep does not work, as the data isn't an array.
I could use (exec grep ...), but I rather not.
I am looking for something that does:
$result = grep("word_I_look_for",$result);
(1)If it is easier, I can use a file instead of a variable.
I do not want life insurance.
I want all people to be genuinely grieving when I die.
- » download a file after user enters some data in php
- — Previous thread in » PHP Scripting Forum