Code Monkey home page Code Monkey logo

ajax-search-suggest--wearehunted.com-style-'s Introduction

Ian Lunn - Front-end Developer

Hi, I’m Ian. I create successful websites that are fast, easy to use, and built with best practices.

Some of my popular GitHub repos:

You can also check out my portfolio here:

I'm open to job opportunities and freelance work. Get in touch

ajax-search-suggest--wearehunted.com-style-'s People

Contributors

ianlunn avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

ajax-search-suggest--wearehunted.com-style-'s Issues

POST method problem

Hi,

I managed to use the Suggest form with a database. If I have something to search like "AJAX Search" ; If I write "AJAX" it will work but if I write "Search" it will not work...

Do you know how to fix that?

Thank you for your help.

Count the number of characters in the query

Hi,

You form works very well but I just ask this question to have a better understanding of the code.

I don't see why you count the characters in the query with :

$latestQueryLength = strlen($latestQuery); //count the number of characters in that query

And then do this verification :

if (substr(strtolower($name),0,$latestQueryLength) == strtolower($latestQuery))

Without this, it still works well.

And if I keep this verification, the LIKE in the Database Query doesn't work anymore.

Thank you for your explanation.

Best regards.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.