Menu
hi i have looked in the php manual and other sources but did not find how to do this
$page = file_get_contents(‘page.txt’);
$str = $_GET[“one”].”|”.$
i want to search for one|two in page.txt, i know $str and $page are correctly written, so this leads me to preg_match being wrong
this is what im trying but it doesnt work ?
if (preg_match(“/$str/i”, $page)) {
i have tried several other ways but no luck, whats wrong
Thanks
Rich