Jump to content

kireoke

New Members
  • Posts

    2
  • Joined

  • Last visited

    Never

Everything posted by kireoke

  1. Sorry, forgot the $fname=$row['name'] if that wasn't obvious.
  2. You'll need to remember the match, which unfortunately involves preg_match(): $search = clean($_POST["search"]); $junk = preg_match('/'.$search.'/i',$fname,$matches); $whatyouwant = $matches[0]; $re_fname='<b>'.$whatyouwant.'</b>'; //Replace with bold letter $final_fname = str_ireplace($search, $re_fname, $fname); ..that may be too much overhead. I'd have to think about it harder, but that should work. What auto suggestion script are you using? I need a good one.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.