lower but not
Posted: Sat Aug 27, 2005 9:29 am
ok i have this
which works just nice and fine but I need to have it so that it will replace the $keys[$i] no matter what case it is in like caps or all lower or whatever. how can i do this?
Code: Select all
preg_replace('/'.$keys[$i].'/', '<a href="'.$filename.'">'.$keys[$i].'</a>', $oldlines, 1);