word completion & php

Discussion in 'PHP' started by trichnosis, Jul 28, 2008.

  1. #1
    Hi

    i want to learn more about word completion like google does when you wrote a wrong word

    [​IMG]

    can anybody help me for this or can anybody offer me article

    Thanks
     
    trichnosis, Jul 28, 2008 IP
  2. rohan_shenoy

    rohan_shenoy Active Member

    Messages:
    441
    Likes Received:
    20
    Best Answers:
    0
    Trophy Points:
    60
    #2
    Use the levenshtein() function for this: http://php.net/levenshtein
    Also read the examples and user notes given there. You will get a good idea.
     
    rohan_shenoy, Jul 28, 2008 IP