Jump to content

First ever attempt at ajax - search engine suggestions


saltem8

Recommended Posts

i wanted to make a search engine for my site

 

i have something very specific in mind, i want the search to include Search Suggestions alot like ask.com

 

so when they start typing, possible results come up,

 

let me show you what i have

 

my table is as follows

 

CREATE TABLE `recipes` (
  `Id` mediumint(13) NOT NULL auto_increment,
  `title` varchar(255) NOT NULL default '',
  `yield` varchar(255) NOT NULL default '',
  `instructions` text NOT NULL,
  PRIMARY KEY  (`Id`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=315743 ;

 

and i am going to make the results display within my sites template, linking to anther file that will pull the choosen result and display the recipe

 

so it is really just a search engine for my own site i suppose with Search suggestions

 

these results are coming from my database,

 

i have found a search engine suggestion script, but it is ajax, can anyone give me a hand setting it up please as i have never even tried to use ajax, - i do have a search script though, i just need the ajax to intregrate with my search results - the complete set up

 

thanks

 

http://www.petefreitag.com/item/605.cfm

 

http://script.aculo.us/downloads

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.