extract a line matching a phrase

u9evxlpw

New Member
I want to match a whole line matching a word/phrase on that line!I tried this:\[code\]preg_match("/PHRASE/i", $dictionary,$matches);\[/code\]But I get only the matched word! but I need that whole line! And there more than 15K lines! So I am looking for best way to do it!thanks in advance!
 
Back
Top