PHP Tutorials: Create a Search Engine (Part 4)

Create a search engine for any purpose. This search engine can be implemented anywhere to search your website content, or to search pages on the web.

Technorati Tags: , , , , , , , , , , , , , , , , , , , , , , , ,

Tags: , , , , , , , , , , , , , , , , , , , , , , , ,

19 Responses to “PHP Tutorials: Create a Search Engine (Part 4)”

  1. omanoman98 Says:

    Great tutorial Alex!
    Thanks a lot!

  2. socomglitchmasta Says:

    I have created an ADD-ON to this script which allows users to add their own search terms. Please message me for the link!

  3. olyman78 Says:

    Awesome tutorial. Thanks!

  4. yanglion Says:

    The best php tutorial !!

  5. hardyzzone Says:

    i’m getting this can u help
    Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\xampp\htdocs\Dreamers Search\search.php on line 40
    no Results Found.

  6. h4r00n Says:

    I keep getting a parse error on the line with the following coding: $x++;
    What am I doing wrong?

  7. potterpuppetpals2 Says:

    same here

  8. lashtal Says:

    can you just publicly post it here for us all? Thanks too! :)

  9. jameswx09 Says:

    I am so lost. I need this for my site so I’ll figure it out.

  10. itsbrad212 Says:

    THANKKKK YOU!!!!! :D :D :D :D

  11. croc786 Says:

    Can you send me thjr addo on link please

  12. l3rodey Says:

    Fail and what sucks is that no help is given, very last buit I add the ‘ just like you but does not fix it and no one helps

  13. brucelampson Says:

    i have been following your tuts since ever , your awesome but is there a way you can paginated the search engine results?

  14. CARECORDS07 Says:

    same here… did u get that working?

  15. hardyzzone Says:

    noo D: its nto on my ocmputer anymore casue it was illageing singed as microsoft so my dad thoguth it had a virus and delete it

  16. ejancar Says:

    omg how i can do it , it is on the 0:42 , like 8

  17. ejancar Says:

    sorry that is % :D thx for nice tutorial

  18. GrandStudable Says:

    FOR THE ONES WHO HAVE BEEN ONE HOUR TRYING TO FIND OUT WICH IS THE RARE SYMBOL VERY SIMILAR TO AN 8. WELL, THATS THE PORCIENT SYMBOL. (%) THIS TUTORIAL IS AWEASOME, BUT IT NEEDS MORE EXPLANATION. I hope this helps to that guys who have been stuck in that part.

  19. duarex2 Says:

    @h4r00n, i also had that problem but i came up with this code:
    (Replace the whole foreach with this)
    $search_each = 0;
    while ($search_each < count($search_exploded)) {
    if ($search_each == 0) {
    $construct = "keywords LIKE '%" . $search_each . "%'";
    } else {
    $construct .= " AND keywords LIKE '%" . $search_each . "%'";
    }
    $search_each++;
    }
    Subscribe if helped!!!

Leave a Reply


Powered by Yahoo! Answers