/    Sign up×
Community /Pin to ProfileBookmark

Hi guys.

Please don’t shoot me for this, as I don’t know where else to ask / look ?

I want to implement something similar to the google live search on my site, though I can’t find any sample code, which I can use. Via google, I got the scripts for the liesearch, but it’s too difficult for me to understand, and implement into my website. After about two days of modification, I still couldn’t get it to work with my intranet site, which uses sessions. Even if I included the googlesearch.php file, it didn’t work. When I tried to do a search for something, it didn’t “suggest” anything from my MySQL DB.

Thus, does anyone know where I can get some sample code to include in an exsting PHP+MySQL website. I basically want to query a userbase, fetching the firstname, middlename, lastname and id field, and then return the values to a form. I want to use the id field as a hidden form element.

Any suggestions / recomendations?

to post a comment
PHP

0Be the first to comment 😎

×

Success!

Help @LordMerlin spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.2,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,
)...